Add GITHUB_TOKEN to env for changes-since-last-tag

This commit is contained in:
Luke Tainton 2024-07-15 20:48:19 +01:00
parent ec55b8bb91
commit 7487503501
No known key found for this signature in database

View File

@ -17,9 +17,11 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Changes Since Last Tag - name: Changes since last tag
id: changes id: changes
uses: jsmith/changes-since-last-tag@v0.4.1 uses: jsmith/changes-since-last-tag@v0.4.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Bump version and push tag - name: Bump version and push tag
if: steps.changes.outputs.any_changed == 'true' if: steps.changes.outputs.any_changed == 'true'