Skip to content

Commit

Permalink
chore(config): rename branch_name
Browse files Browse the repository at this point in the history
  • Loading branch information
csantiago132 committed Oct 30, 2024
1 parent 31c012e commit 19a9f79
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ jobs:
needs: document
uses: kurocado-studio/styleguide/.github/workflows/workflow.release.yml@main
secrets: inherit
with:
branch_name: ${{ github.ref }}
14 changes: 7 additions & 7 deletions .github/workflows/workflow.release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
concurrency:
group: ${{ github.workflow }}-${{ inputs.branch }}
group: ${{ github.workflow }}-${{ inputs.branch_name }}
cancel-in-progress: true

permissions:
Expand All @@ -10,7 +10,7 @@ permissions:
on:
workflow_call:
inputs:
branch:
branch_name:
required: true
type: string

Expand All @@ -19,11 +19,11 @@ jobs:
runs-on: ubuntu-latest
if: |
(
inputs.branch == 'refs/heads/main' ||
inputs.branch == 'refs/heads/alpha' ||
inputs.branch == 'refs/heads/beta' ||
inputs.branch == 'refs/heads/canary' ||
inputs.branch == 'refs/heads/pre/rc'
inputs.branch_name == 'refs/heads/main' ||
inputs.branch_name == 'refs/heads/alpha' ||
inputs.branch_name == 'refs/heads/beta' ||
inputs.branch_name == 'refs/heads/canary' ||
inputs.branch_name == 'refs/heads/pre/rc'
)
steps:
- name: Checkout
Expand Down

0 comments on commit 19a9f79

Please sign in to comment.