Skip to content

Commit

Permalink
ci: delete the branch after merging flake updates
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaraj-bh committed May 28, 2024
1 parent 86a9028 commit c0ecde3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
path-to-flake-dir: 'example/share-services/northwind'
branch: "update_flake_lock_ex_share_northwind"
token: ${{ steps.github-app-token.outputs.token }}
- run: "gh pr merge --auto --rebase ${{ steps.update-flake-lock.outputs.pull-request-number }}"
- run: "gh pr merge --auto --rebase --delete-branch ${{ steps.update-flake-lock.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ github.token }}

2 changes: 1 addition & 1 deletion .github/workflows/update-flake-lock-ex-share-pgweb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
path-to-flake-dir: 'example/share-services/pgweb'
branch: "update_flake_lock_ex_share_pgweb"
token: ${{ steps.github-app-token.outputs.token }}
- run: "gh pr merge --auto --rebase ${{ steps.update-flake-lock.outputs.pull-request-number }}"
- run: "gh pr merge --auto --rebase --delete-branch ${{ steps.update-flake-lock.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ github.token }}

2 changes: 1 addition & 1 deletion .github/workflows/update-flake-lock-ex-simple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
path-to-flake-dir: 'example/simple'
branch: "update_flake_lock_ex_simple"
token: ${{ steps.github-app-token.outputs.token }}
- run: "gh pr merge --auto --rebase ${{ steps.update-flake-lock.outputs.pull-request-number }}"
- run: "gh pr merge --auto --rebase --delete-branch ${{ steps.update-flake-lock.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ github.token }}
2 changes: 1 addition & 1 deletion .github/workflows/update-flake-lock-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
path-to-flake-dir: 'test'
branch: "update_flake_lock_test"
token: ${{ steps.github-app-token.outputs.token }}
- run: "gh pr merge --auto --rebase ${{ steps.update-flake-lock.outputs.pull-request-number }}"
- run: "gh pr merge --auto --rebase --delete-branch ${{ steps.update-flake-lock.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit c0ecde3

Please sign in to comment.