Skip to content

Commit c918a65

Browse files
committed
update workflows
1 parent 0f40c46 commit c918a65

File tree

4 files changed

+27
-5
lines changed

4 files changed

+27
-5
lines changed

.github/workflows/issue-open-workflows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
- name: Set Milestone of the Issue
2626
uses: Code-Hex/auto-milestone-binder@v1.0.1
2727
with:
28-
github-token: ${{ secrets.GITHUB_TOKEN }}
28+
github-token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}

.github/workflows/on-push-tags.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Generate Release From Tag
1515
uses: "marvinpinto/action-automatic-releases@latest"
1616
with:
17-
repo_token: "${{ secrets.GITHUB_TOKEN }}"
17+
repo_token: "${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}"
1818
prerelease: false
1919

2020
publish-npm:
@@ -70,4 +70,4 @@ jobs:
7070
- name: NPM Publish
7171
run: npm publish --access public
7272
env:
73-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
73+
NODE_AUTH_TOKEN: ${{secrets.MASTER_BRANCH_ACCESS_TOKEN}}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: PR Labeled at Develop Workflows
2+
3+
on:
4+
pull_request:
5+
types:
6+
- labeled
7+
branches:
8+
- develop
9+
10+
jobs:
11+
auto-merge:
12+
name: "Auto Merge"
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: automerge
16+
uses: "pascalgn/automerge-action@v0.14.3"
17+
env:
18+
GITHUB_TOKEN: "${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}"
19+
MERGE_LABELS: "workflow"
20+
MERGE_COMMIT_MESSAGE: "Auto merge for PR with workflow label"
21+
MERGE_FORKS: "false"
22+
MERGE_RETRY_SLEEP: "60000"

.github/workflows/pr-open-workflows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Add Label to PR
1414
uses: TimonVS/pr-labeler-action@v3
1515
env:
16-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
GITHUB_TOKEN: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}
1717

1818
automate-project-columns:
1919
name: "Automate Project Columns"
@@ -35,4 +35,4 @@ jobs:
3535
- name: Set Milestone of the PR
3636
uses: Code-Hex/auto-milestone-binder@v1.0.1
3737
with:
38-
github-token: ${{ secrets.GITHUB_TOKEN }}
38+
github-token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)