Skip to content

Commit

Permalink
Backport Auth (#2936)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhongsun96 authored Oct 26, 2024
1 parent ccc68c5 commit b4bc6d9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pr-backport-autotrigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: Backport on Merge

on:
pull_request:
types: [closed]
types: [closed] # Later we check for merge so only PRs that go in can get backported

permissions:
contents: write

jobs:
backport:
Expand All @@ -16,8 +19,9 @@ jobs:

- name: Set up Git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
- name: Check for Backport Checkbox
id: checkbox-check
Expand Down

0 comments on commit b4bc6d9

Please sign in to comment.