-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#436] Add concurrency, remove env section from publish wiki template…
… file
- Loading branch information
1 parent
e608fae
commit f68814a
Showing
1 changed file
with
5 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,9 @@ on: | |
paths: | ||
- .github/wiki/** | ||
|
||
env: | ||
USER_NAME: github-wiki-workflow | ||
USER_EMAIL: [email protected] | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
publish: | ||
|
@@ -18,11 +18,6 @@ jobs: | |
timeout-minutes: 1 | ||
|
||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout the repository | ||
uses: actions/checkout@v2 | ||
with: | ||
|
@@ -31,6 +26,6 @@ jobs: | |
- name: Publish Github Wiki | ||
uses: nimblehq/[email protected] | ||
with: | ||
user_name: ${{ env.USER_NAME }} | ||
user_email: ${{ env.USER_EMAIL }} | ||
user_name: github-wiki-workflow | ||
user_email: [email protected] | ||
user_access_token: ${{ secrets.USER_ACCESS_TOKEN }} |