Skip to content

Commit

Permalink
Test2 (#10)
Browse files Browse the repository at this point in the history
* 2

* work on on push tags

* switch to PUSH_TOKEN to trigger workflow 2
  • Loading branch information
ann8ty authored Jan 19, 2024
1 parent c83afc0 commit ab0cda1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/1_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: 1 version
concurrency: version

on:
workflow_call:
pull_request:
branches:
- main
Expand All @@ -21,14 +20,16 @@ jobs:

- uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
fetch-depth: '0'

# this action is not triggering on push tags...
# a push using the GITHUB_TOKEN can't trigger workflows.
- name: Bump version and push tag
id: tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }}
WITH_V: true

- name: release notes
Expand Down

0 comments on commit ab0cda1

Please sign in to comment.