Skip to content

Commit

Permalink
[#436] Add concurrency, remove env section from publish wiki template…
Browse files Browse the repository at this point in the history
… file
  • Loading branch information
mosharaf13 committed Jul 13, 2023
1 parent e608fae commit f68814a
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .template/addons/github/.github/workflows/publish_wiki.yml.tt
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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 }}

0 comments on commit f68814a

Please sign in to comment.