Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
update build action
Browse files Browse the repository at this point in the history
  • Loading branch information
s5suzuki committed Jul 29, 2024
1 parent f0f8ee5 commit 0fb1339
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: build

on:
pull_request: {}
merge_group:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]

jobs:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
changed-files:
name: changed-files
runs-on: ubuntu-latest
Expand Down Expand Up @@ -99,7 +103,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ always() && !cancelled() && !failure() && github.actor == 'dependabot[bot]' }}
steps:
- run: gh pr merge --auto "$PR_URL"
- run: gh pr merge --rebase --auto "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Coverage

on:
merge_group:
types: [ checks_requested ]
push:
branches: [ "main" ]

jobs:
coverage:
Expand Down

0 comments on commit 0fb1339

Please sign in to comment.