Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalLytek committed Jan 10, 2024
1 parent 77fb7ec commit 778f5b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ jobs:
release:
name: Release package on NPM
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success' && startsWith(github.event.workflow_run.head_branch, 'refs/tags/v')
if: github.event.workflow_run.conclusion == 'success'
permissions:
contents: write
id-token: write
steps:
- name: Debug
env:
TYPE_GRAPHQL_REF: ${{ github.event.workflow_run.head_branch }}
run: echo "$TYPE_GRAPHQL_REF"

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 778f5b9

Please sign in to comment.