Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
rust-learn-now authored Nov 26, 2024
1 parent 604f5c4 commit 0f7e241
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/associate_milestone_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Associate Milestone
uses: actions/github-script@v7
with:
github-token: ${{ secrets.BOT_TOKEN }}
github-token: ${{ secrets.BOT_TOKEN_1 }}
script: |
const { owner, repo } = context.repo;
const issueNumber = context.issue.number;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/associate_milestone_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Associate Milestone
uses: actions/github-script@v7
with:
github-token: ${{ secrets.BOT_TOKEN }}
github-token: ${{ secrets.BOT_TOKEN_1 }}
script: |
const { owner, repo } = context.repo;
const issueNumber = context.issue.number;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: automerge
uses: "pascalgn/[email protected]"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_TOKEN: "${{ secrets.BOT_TOKEN }}"
MERGE_LABELS: "approved,auto merge,!ready to review,!waiting-review"
MERGE_METHOD: "squash"
MERGE_COMMIT_MESSAGE: "automatic"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remove-label-on-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Remove multiple labels using github-script
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.BOT_TOKEN }}
script: |
const labelsToRemove = ['waiting-review','ready to review']; // Labels to remove
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-issue-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Sync Labels from Linked Issue
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.BOT_TOKEN }}
script: |
// Extract linked issue numbers from the PR description
const issueNumbers = context.payload.pull_request.body
Expand Down

0 comments on commit 0f7e241

Please sign in to comment.