Skip to content

Commit

Permalink
ci: output-sha job runs on main only
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucky3028 committed Dec 23, 2023
1 parent 8e3c4e0 commit e047bcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-and-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
output-sha:
name: 最終コミットのSHA値を取得する
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
outputs:
sha: ${{ steps.output-sha.outputs.sha }}
steps:
Expand Down

0 comments on commit e047bcb

Please sign in to comment.