Skip to content

Commit

Permalink
Test workflow release
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanh Nguyen committed Nov 23, 2023
1 parent 77cf9e7 commit 0bb99de
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ on:
jobs:
ReleaseDryRun:
runs-on: ubuntu-latest
if: |
github.event.repository.fork == false &&
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success' &&
github.event.pull_request.merged == true &&
github.ref == 'refs/heads/release'
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
# if: |
# github.event.repository.fork == false &&
# github.event.workflow_run.event == 'pull_request' &&
# github.event.workflow_run.conclusion == 'success' &&
# github.event.pull_request.merged == true &&
# github.ref == 'refs/heads/release'
# permissions:
# contents: write # to be able to publish a GitHub release
# issues: write # to be able to comment on released issues
# pull-requests: write # to be able to comment on released pull requests
outputs:
RESULT: ${{ steps.release_dry_run.outputs.result }}
VERSION: ${{ steps.release_dry_run.outputs.releaseVersion }}
Expand Down

0 comments on commit 0bb99de

Please sign in to comment.