File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3535 pr_title : ' [Gitflow] Merge ${{ env.SOURCE_BRANCH }} into ${{ env.TARGET_BRANCH }}'
3636 pr_body : ' Merge ${{ env.SOURCE_BRANCH }} branch into ${{ env.TARGET_BRANCH }}'
3737 pr_label : ' Dev: Gitflow'
38+ # This token is scoped to Daniel Griesser
39+ github_token : ${{ secrets.REPO_SCOPED_TOKEN }}
3840
3941 # https://github.com/marketplace/actions/enable-pull-request-automerge
4042 - name : Enable automerge for PR
4749 # https://github.com/marketplace/actions/auto-approve
4850 - name : Auto approve PR
4951 # Always skip this for now, until we got a proper bot setup
50- if : steps.open-pr.outputs.pr_number != '' || 1 == 2
52+ if : steps.open-pr.outputs.pr_number != ''
5153 uses : hmarr/auto-approve-action@v3
5254 with :
5355 pull-request-number : ${{ steps.open-pr.outputs.pr_number }}
5456 review-message : ' Auto approved automated PR'
55- # TODO: Use the token of some user here??
56- # github-token: ${{ secrets.SOME_USERS_PAT }}
Original file line number Diff line number Diff line change 3232 pr_title : ' [Gitflow] Merge ${{ github.ref_name }} into ${{ env.MAIN_BRANCH }}'
3333 pr_body : ' Merge ${{ github.ref_name }} branch into ${{ env.MAIN_BRANCH }}'
3434 pr_label : ' Dev: Gitflow'
35+ # This token is scoped to Daniel Griesser
36+ github_token : ${{ secrets.REPO_SCOPED_TOKEN }}
3537
3638 # https://github.com/marketplace/actions/enable-pull-request-automerge
3739 - name : Enable automerge for PR
4446 # https://github.com/marketplace/actions/auto-approve
4547 - name : Auto approve PR
4648 # Always skip this for now, until we got a proper bot setup
47- if : steps.open-pr.outputs.pr_number != '' || 1 == 2
49+ if : steps.open-pr.outputs.pr_number != ''
4850 uses : hmarr/auto-approve-action@v3
4951 with :
5052 pull-request-number : ${{ steps.open-pr.outputs.pr_number }}
5153 review-message : ' Auto approved automated PR'
52- # TODO: Use the token of some user here??
53- # github-token: ${{ secrets.SOME_USERS_PAT }}
You can’t perform that action at this time.
0 commit comments