Skip to content

Commit ee0a631

Browse files
committed
add PAT, fix rate limit
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
1 parent e4b7360 commit ee0a631

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

action.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,22 @@
44

55
name: Bump Version
66
description: Retrieve the latest release tag, run the Bash script to bump version, and save the new version to PYPI_VERSION.
7+
8+
inputs: # actions don't have secrets, so we use inputs instead
9+
token:
10+
description: 'A Github PAT, e.g. `${{ secrets.GITHUB_TOKEN }}`'
11+
required: true
12+
713
runs:
814
using: "composite"
915
steps:
1016
- name: Get Latest Release Tag
1117
id: fetch_tag
12-
uses: pozetroninc/github-action-get-latest-release@master
18+
uses: pozetroninc/github-action-get-latest-release@v0.8.0
1319
with:
1420
repository: ${{ github.repository }}
1521
excludes: prerelease, draft
22+
token: ${{ ::add-mask::inputs.token }}
1623

1724
- name: Run version bump script
1825
id: bump_version

0 commit comments

Comments
 (0)