Skip to content

Commit c8bd3de

Browse files
authored
Merge pull request #5343 from JakaKokosar/biolab-helper-pat
ci: use PAT (biolab-helper) in rebase workflow
2 parents 4f4fac8 + 776b5ee commit c8bd3de

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

.github/workflows/rebase.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,9 @@ jobs:
1111
- name: Checkout the latest code
1212
uses: actions/checkout@v2
1313
with:
14-
token: ${{ secrets.GITHUB_TOKEN }}
14+
token: ${{ secrets.BIOLAB_HELPER_PAT }}
1515
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
1616
- name: Automatic Rebase
1717
uses: cirrus-actions/rebase@1.4
1818
env:
19-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20-
- name: Notify on success
21-
uses: actions/github-script@v3
22-
if: success()
23-
with:
24-
github-token: ${{secrets.GITHUB_TOKEN}}
25-
script: |
26-
github.issues.createComment({
27-
issue_number: context.issue.number,
28-
owner: context.repo.owner,
29-
repo: context.repo.repo,
30-
body: 'Rebase successful'
31-
})
19+
GITHUB_TOKEN: ${{ secrets.BIOLAB_HELPER_PAT }}

0 commit comments

Comments
 (0)