Skip to content

Commit

Permalink
chore: Update GitHub Actions workflows for preview and release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
IZUMI-Zu committed Jul 29, 2024
1 parent bb7bb76 commit 5d032ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: Build preview for pull requests
on:
push:
# REQUIRED: push main(default) branch is necessary for this action to update its fingerprint database
branches: [main]
branches: [master]
pull_request:
types: [opened, synchronize]

jobs:
build:
runs-on: ubuntu-latest
# REQUIRED: limit concurrency when pushing main(default) branch to prevent conflict for this action to update its fingerprint database
concurrency: fingerprint-${{ github.event_name != 'pull_request' && 'main' || github.run_id }}
concurrency: fingerprint-${{ github.event_name != 'pull_request' && 'master' || github.run_id }}
permissions:
# REQUIRED: Allow comments of PRs
pull-requests: write # Allow comments on PRs
Expand Down

0 comments on commit 5d032ae

Please sign in to comment.