Skip to content

Commit

Permalink
update workflows to operate on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
privateip committed Dec 18, 2024
1 parent a552e15 commit 9478b1e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# .github/workflows/ansible-lint.yml
---
name: ansible-lint

on:
push:
branches: ["devel"]
pull_request:
branches: ["devel"]

jobs:
build:
name: Ansible Lint # Naming the build is important to use it as a status check
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish_ansible_collection.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
name: Publish Ansible Galaxy Collection

on:
release:
types: [published]
workflow_dispatch:
push:
tags:
- "*"

jobs:
publish-collection:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/updateChangelog.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
name: Run changelog Script

on:
release:
types: [published]
workflow_dispatch:
push:
tags:
- "*"

jobs:
updateChangelog:
Expand Down

0 comments on commit 9478b1e

Please sign in to comment.