Skip to content

Commit

Permalink
Merge branch 'release/1.0.0-beta.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
nekofar committed Jul 26, 2023
2 parents b4a8933 + 81daedc commit 8f913d3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file.

## [1.0.0-beta.3] - 2023-07-26

### <!-- 02 -->Bug Fixes

- Change default value of `GITHUB_TOKEN` in `entrypoint.sh`

### <!-- 04 -->Refactor

- Optimize whitespace usage in `action.yml`

## [1.0.0-beta.2] - 2023-07-25

### <!-- 02 -->Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ runs:
shell: 'bash'
env:
INPUT_TOKEN: ${{ inputs.token }}
INPUT_THRESHOLD: ${{ inputs.threshold }}
INPUT_THRESHOLD: ${{ inputs.threshold }}
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ if [[ $INPUT_THRESHOLD -lt 1 || $INPUT_THRESHOLD -gt 100 ]]; then
fi

# Setting GitHub token as environment variable
export GITHUB_TOKEN=${INPUT_TOKEN:-"GITHUB_TOKEN"}
export GITHUB_TOKEN=${INPUT_TOKEN:-$GITHUB_TOKEN}

# Call the usage monitoring function
monitor_usage_and_cancel_run_if_exceeded

0 comments on commit 8f913d3

Please sign in to comment.