forked from ansible/ansible-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add workflow to create core tags automatically
Fixes: ansible#66
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: Sync tags with ansible-core releases | ||
|
||
"on": | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 * * * *" # Hourly | ||
|
||
jobs: | ||
tag: | ||
runs-on: "ubuntu-latest" | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Check out us | ||
uses: actions/checkout@v4 | ||
with: | ||
path: ansible-documentation | ||
fetch-depth: 0 | ||
- name: Check out core | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: ansible/ansible | ||
path: ansible | ||
fetch-depth: 0 | ||
- name: Setup nox | ||
uses: wntrblm/[email protected] | ||
with: | ||
python-versions: "3.12" | ||
- name: Run tag script | ||
run: nox -s tag | ||
working-directory: ansible-documentation |