Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/reusable-actions-budget-guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ on:
required: false
type: string
default: "85"
secrets:
github_token:
required: false
outputs:
usage_pct:
description: Current-month usage percentage against monthly cap
Expand Down Expand Up @@ -71,7 +68,7 @@ jobs:
MONTHLY_CAP_MINUTES: ${{ inputs.monthly_cap_minutes }}
WARN_PCT: ${{ inputs.warn_pct }}
DEGRADE_PCT: ${{ inputs.degrade_pct }}
GITHUB_TOKEN_INPUT: ${{ secrets.github_token }}
GITHUB_TOKEN_INPUT: ${{ secrets.GITHUB_TOKEN }}
run: ./.workflow-source/.github/scripts/actions-budget-guard.sh

- name: Job summary
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- `reusable-docker-build.yml`: replaced `secrets.*` usage in Docker Hub login
`if` guard with env-backed checks to avoid workflow-file evaluation errors.
- `reusable-actions-budget-guard.yml`: removed custom `github_token` workflow
secret declaration (reserved name) and now reads `secrets.GITHUB_TOKEN`
directly to prevent workflow-file validation failures on push.
Loading