We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbd9874 commit a111310Copy full SHA for a111310
.github/workflows/publish-to-ansible-galaxy.yml
@@ -9,15 +9,21 @@ jobs:
9
runs-on: ubuntu-latest
10
steps:
11
- uses: actions/checkout@v4
12
+ with:
13
+ ref: main
14
+ token: ${{ secrets.DEVOPS_BOT_PAT }}
15
16
- name: Update version
17
run: |
18
echo "Updating version"
19
sed -i "s/version: .*/version: ${{ github.event.release.tag_name }}/g" galaxy.yml
20
+
21
- uses: stefanzweifel/git-auto-commit-action@v4
22
with:
- commit_message: "Update version to ${{ github.event.release.tag_name }}"
23
+ commit_message: "Update galaxy.yml version to ${{ github.event.release.tag_name }}"
24
branch: "main"
25
+ file_pattern: "galaxy.yml"
26
+ push_options: --force
27
28
ansible-publish:
29
0 commit comments