Skip to content

Commit

Permalink
ci: use j-eoeo-release app (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi authored May 14, 2024
1 parent 28c4d88 commit 0886f7b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
branches:
- 'main'
pull_request:
pull_request_review:
workflow_call:
inputs:
tag-name:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/do-not-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
- synchronize
- labeled
- unlabeled
pull_request_review:

permissions:
pull-requests: read
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,18 @@ jobs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@a0de6af83968303c8c955486bf9739a57d23c7f1 # v1.10.0
with:
app-id: ${{ vars.EOEO_RELEASE_APP_ID }}
private-key: ${{ secrets.EOEO_RELEASE_PRIVATE_KEY }}
- uses: googleapis/release-please-action@a37ac6e4f6449ce8b3f7607e4d97d0146028dc0b # v4.1.0
id: release
with:
release-type: rust
token: ${{ steps.generate_token.outputs.token }}

build:
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
Expand Down

0 comments on commit 0886f7b

Please sign in to comment.