Skip to content

Commit

Permalink
fix: check the condition
Browse files Browse the repository at this point in the history
  • Loading branch information
motoya-k committed Dec 29, 2023
1 parent c7070eb commit 6793115
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Check the condition
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'release'
run: exit 0

- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@v1
Expand All @@ -37,6 +33,10 @@ jobs:
with:
persist-credentials: false

- name: Check the condition
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'release'
run: exit 0

- name: Setup Node.js
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 6793115

Please sign in to comment.