We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccc68c5 commit b4bc6d9Copy full SHA for b4bc6d9
.github/workflows/pr-backport-autotrigger.yml
@@ -2,7 +2,10 @@ name: Backport on Merge
2
3
on:
4
pull_request:
5
- types: [closed]
+ types: [closed] # Later we check for merge so only PRs that go in can get backported
6
+
7
+permissions:
8
+ contents: write
9
10
jobs:
11
backport:
@@ -16,8 +19,9 @@ jobs:
16
19
17
20
- name: Set up Git
18
21
run: |
- git config user.name "github-actions[bot]"
- git config user.email "github-actions[bot]@users.noreply.github.com"
22
+ git config --global user.name "github-actions[bot]"
23
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
24
+ git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
25
26
- name: Check for Backport Checkbox
27
id: checkbox-check
0 commit comments