mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-18 20:10:58 +02:00
Backport Auth (#2936)
This commit is contained in:
parent
ccc68c5c34
commit
b4bc6d994d
10
.github/workflows/pr-backport-autotrigger.yml
vendored
10
.github/workflows/pr-backport-autotrigger.yml
vendored
@ -2,7 +2,10 @@ name: Backport on Merge
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [closed]
|
types: [closed] # Later we check for merge so only PRs that go in can get backported
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
backport:
|
backport:
|
||||||
@ -16,8 +19,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Set up Git
|
- name: Set up Git
|
||||||
run: |
|
run: |
|
||||||
git config user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
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
|
- name: Check for Backport Checkbox
|
||||||
id: checkbox-check
|
id: checkbox-check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user