Skip to content

Commit 90adfa9

Browse files
committed
Update workflow.yaml for versioning
1 parent 29a5bcf commit 90adfa9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/workflow.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,23 @@ jobs:
6666
uses: ./
6767
- name: Graphviz test
6868
run: dot -V
69+
70+
versioning:
71+
name: Versioning
72+
runs-on: ubuntu-latest
73+
needs:
74+
- integration-test
75+
permissions:
76+
contents: write # Used to commit to "Version Packages" PR
77+
pull-requests: write # Used to create "Version Packages" PR
78+
if: ${{ github.event_name == 'push' && github.repository == 'ts-graphviz/setup-graphviz' && github.base_ref == 'refs/heads/main' }}
79+
steps:
80+
- name: Checkout
81+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
82+
- name: Setup
83+
uses: ./.github/actions/setup
84+
- name: Create Release Pull Request
85+
id: changesets
86+
uses: changesets/action@aba318e9165b45b7948c60273e0b72fce0a64eb9 # v1.4.7
87+
env:
88+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)