Skip to content

Commit

Permalink
Update auto-rebase.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
GitGab19 authored Aug 30, 2024
1 parent 676e32c commit 6c7d089
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/auto-rebase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ steps.generate-token.outputs.token }}
token: ${{ secrets.GITGAB_SRI_PERSONAL_TOKEN }}
fetch-depth: 0 # Fetch full history to have the entire commit history

- name: Fetch open pull requests with label
run: |
gh auth setup-git
gh pr list --state open --label "ready-to-be-merged" --json number,headRepositoryOwner,headRefName --jq '.[] | "\(.number) \(.headRepositoryOwner.login) \(.headRefName)"' > pr_details.txt
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.GITGAB_SRI_PERSONAL_TOKEN }}

- name: Rebase pull requests
run: |
Expand Down Expand Up @@ -87,4 +87,4 @@ jobs:
done < pr_details.txt
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.GITGAB_SRI_PERSONAL_TOKEN }}

0 comments on commit 6c7d089

Please sign in to comment.