Skip to content

Commit

Permalink
ci: add release-please support (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld authored Apr 25, 2024
1 parent 9dde55e commit f571087
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This isn't meant for usage in consuming repos. It's for releasing this repo's actions/workflows itself.

name: Release Please
on:
workflow_dispatch:
push:
branches:
- main

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
target-branch: ${{ github.ref_name }}
8 changes: 8 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"actions/contract-tests": "1.0.1",
"actions/publish-pages": "1.0.2",
"actions/release-secrets": "1.1.0",
"actions/sign-dlls": "1.0.0",
"actions/verify-hello-app": "1.0.1",
".github/workflows": "1.0.0"
}
31 changes: 31 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"separate-pull-requests": true,
"include-component-in-tag": true,
"include-v-in-tag": true,
"packages": {
"actions/contract-tests": {
"release-type": "simple",
"package-name": "contract-tests"
},
"actions/publish-pages": {
"release-type": "simple",
"package-name": "publish-pages"
},
"actions/release-secrets": {
"release-type": "simple",
"package-name": "release-secrets"
},
"actions/sign-dlls": {
"release-type": "simple",
"package-name": "sign-dlls"
},
"actions/verify-hello-app": {
"release-type": "simple",
"package-name": "verify-hello-app"
},
".github/workflows": {
"release-type": "simple",
"package-name": "workflows"
}
}
}

0 comments on commit f571087

Please sign in to comment.