8 Commits
v0.0.4 ... v0.0

Author SHA1 Message Date
github-actions[bot]
1d94b44003 chore(main): release 0.0.6 (#6) 2023-05-08 01:14:05 +01:00
8634e410ba docs(readme): remove permissions directive from examples 2023-05-08 01:10:40 +01:00
04d3b1edbb fix(release): remove permissions block
Instead lets set permissions in repository settings and see if that
works without the permissions settings in the workflow.
2023-05-08 01:07:55 +01:00
c2d85862fd fix(release): attempt to fix release job permissions
It seems the "pull-request: write" permission on the job did not work.
So we are now setting permissions at the workflow level
2023-05-08 01:06:44 +01:00
b60e27befe feat(release): remove use of GitHub App
We don't currently have any CI checks to run on pull requests, so
there's no need to author Release PRs from an app.
2023-05-08 00:57:10 +01:00
a056b80ec3 docs(readme): update examples 2023-05-08 00:57:10 +01:00
jimehbot[bot]
4205a83fff chore(main): release 0.0.5 (#5) 2023-05-08 00:47:43 +01:00
e012dc88b9 fix(release): actually tag MAJOR 2023-05-08 00:44:56 +01:00
4 changed files with 29 additions and 14 deletions

View File

@@ -1,3 +1,3 @@
{ {
".": "0.0.4" ".": "0.0.6"
} }

View File

@@ -6,19 +6,14 @@ jobs:
release-please: release-please:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
permissions:
contents: write
steps: steps:
- uses: jimeh/release-please-manifest-action@main - uses: jimeh/release-please-manifest-action@main
id: release id: release
with:
app-id: ${{ secrets.RELEASE_BOT_APP_ID }}
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
- name: Create/update MAJOR tag - name: Create/update MAJOR tag
if: ${{ steps.release.outputs.release_created }} if: ${{ steps.release.outputs.release_created }}
uses: richardsimko/update-tag@v1 uses: richardsimko/update-tag@v1
with: with:
tag_name: v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} tag_name: v${{ steps.release.outputs.major }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create/update MAJOR.MINOR tag - name: Create/update MAJOR.MINOR tag

View File

@@ -1,5 +1,25 @@
# Changelog # Changelog
## [0.0.6](https://github.com/jimeh/release-please-manifest-action/compare/v0.0.5...v0.0.6) (2023-05-08)
### Features
* **release:** remove use of GitHub App ([b60e27b](https://github.com/jimeh/release-please-manifest-action/commit/b60e27befea7298731468ae0a66eff098c362d86))
### Bug Fixes
* **release:** attempt to fix release job permissions ([c2d8586](https://github.com/jimeh/release-please-manifest-action/commit/c2d85862fdd1bdcb9b7b10dcb3d35d3d60f4afc6))
* **release:** remove permissions block ([04d3b1e](https://github.com/jimeh/release-please-manifest-action/commit/04d3b1edbb4c7bd5f1b63b6bb3f65ca738ee1e52))
## [0.0.5](https://github.com/jimeh/release-please-manifest-action/compare/v0.0.4...v0.0.5) (2023-05-07)
### Bug Fixes
* **release:** actually tag MAJOR ([e012dc8](https://github.com/jimeh/release-please-manifest-action/commit/e012dc88b94fb4ce8433076d45479ee4d0ed01b2))
## [0.0.4](https://github.com/jimeh/release-please-manifest-action/compare/v0.0.3...v0.0.4) (2023-05-07) ## [0.0.4](https://github.com/jimeh/release-please-manifest-action/compare/v0.0.3...v0.0.4) (2023-05-07)

View File

@@ -66,7 +66,7 @@ on: push
jobs: jobs:
release-please: release-please:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/main'
steps: steps:
- uses: jimeh/release-please-manifest-action@v0 - uses: jimeh/release-please-manifest-action@v0
``` ```
@@ -81,7 +81,7 @@ on: push
jobs: jobs:
release-please: release-please:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/main'
steps: steps:
- uses: google-github-actions/release-please-action@v3 - uses: google-github-actions/release-please-action@v3
id: release-please id: release-please
@@ -112,7 +112,7 @@ on: push
jobs: jobs:
release-please: release-please:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/main'
steps: steps:
- uses: jimeh/release-please-manifest-action@v0 - uses: jimeh/release-please-manifest-action@v0
with: with:
@@ -129,7 +129,7 @@ on: push
jobs: jobs:
release-please: release-please:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/main'
steps: steps:
- uses: google-github-actions/release-please-action@v3 - uses: google-github-actions/release-please-action@v3
id: release-please id: release-please
@@ -162,7 +162,7 @@ Below we assume you have already setup `RELEASE_BOT_APP_ID` and
`RELEASE_BOT_PRIVATE_KEY` secrets in the repository or organization. `RELEASE_BOT_PRIVATE_KEY` secrets in the repository or organization.
To set the private key secret, it is easiest to base64 encode the contents of To set the private key secret, it is easiest to base64 encode the contents of
`*.pem` file you get from the GitHub App's configuration page. The base64 the `*.pem` file you get from the GitHub App's configuration page. The base64
encoded string should not have any line-breaks. encoded string should not have any line-breaks.
<!-- x-release-please-start-major --> <!-- x-release-please-start-major -->
@@ -172,7 +172,7 @@ on: push
jobs: jobs:
release-please: release-please:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/main'
steps: steps:
- uses: jimeh/release-please-manifest-action@v0 - uses: jimeh/release-please-manifest-action@v0
with: with:
@@ -190,7 +190,7 @@ on: push
jobs: jobs:
release-please: release-please:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/main'
steps: steps:
- uses: tibdex/github-app-token@v1 - uses: tibdex/github-app-token@v1
id: github-app-token id: github-app-token