Skip to content

Commit

Permalink
raise pull request to prod branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tunacinsoy committed Aug 27, 2024
1 parent c47cab0 commit fdcf5e0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dev-cd-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Attest Images
uses: ./.github/workflows/attest-images.yml
secrets: inherit
# raise-pull-request:
# name: Raise PR to prod branch
# uses: ./.github/workflows/raise-pr.yml
# secrets: inherit
raise-pull-request:
name: Raise PR to prod branch
uses: ./.github/workflows/raise-pr.yml
secrets: inherit
16 changes: 16 additions & 0 deletions .github/workflows/raise-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Raise Pull Request
on: [workflow_call]
jobs:
raise-pull-request:
runs-on: ubuntu-latest
defaults:
run:
working-directory: .
steps:
- uses: actions/checkout@v2
- name: Raise a Pull Request
id: pull-request
uses: repo-sync/pull-request@v2
with:
destination_branch: prod
github_token: ${{ secrets.GH_TOKEN }}

0 comments on commit fdcf5e0

Please sign in to comment.