mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
Specify the branch name when pushing node badge commits (#116)
* [CI] Specify the branch name when pushing node badge commits Fixes #115 * testing: remove games to update badge * Add/Update badge * Revert "testing: remove games to update badge" This reverts commit 8256176839e996810568f5104a7c6a19ab482ab0. * Add/Update badge --------- Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
parent
9db873e774
commit
b4c61781fb
1 changed files with 6 additions and 0 deletions
6
.github/workflows/node-badge.yml
vendored
6
.github/workflows/node-badge.yml
vendored
|
|
@ -17,6 +17,11 @@ jobs:
|
|||
env:
|
||||
BADGE_PATH: ".github/badges/node.svg"
|
||||
steps:
|
||||
- name: Extract branch name
|
||||
shell: bash
|
||||
run: echo "branch=${GITHUB_REF#refs/heads/}" >> "${GITHUB_OUTPUT}"
|
||||
id: extract_branch
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -68,3 +73,4 @@ jobs:
|
|||
if: ${{ success() }}
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: ${{ steps.extract_branch.outputs.branch }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue