summaryrefslogtreecommitdiff
path: root/.github/workflows/ah_token_refresh.yml
diff options
context:
space:
mode:
authoromnom62 <omnom62@outlook.com>2026-06-01 06:12:38 +1000
committeromnom62 <omnom62@outlook.com>2026-06-01 06:12:38 +1000
commit3d5580b801812dbbeefb37cfb7059b7f2b4adcbb (patch)
tree3566f36822e1ae4bae19efaaab63a06f4bb525b8 /.github/workflows/ah_token_refresh.yml
parent967a8c581df46f3c01d642ed08ec0d7ec43d79f6 (diff)
downloadrest.vyos-3d5580b801812dbbeefb37cfb7059b7f2b4adcbb.tar.gz
rest.vyos-3d5580b801812dbbeefb37cfb7059b7f2b4adcbb.zip
Preparing first cut of modules
Diffstat (limited to '.github/workflows/ah_token_refresh.yml')
-rw-r--r--.github/workflows/ah_token_refresh.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/ah_token_refresh.yml b/.github/workflows/ah_token_refresh.yml
new file mode 100644
index 0000000..09d2f9d
--- /dev/null
+++ b/.github/workflows/ah_token_refresh.yml
@@ -0,0 +1,14 @@
+name: Refresh the automation hub token
+# the token expires every 30 days, so we need to refresh it
+on:
+ schedule:
+ - cron: '0 12 1,15 * *' # run 12pm on the 1st and 15th of the month
+ workflow_dispatch:
+
+jobs:
+ refresh:
+ uses: ansible/team-devtools/.github/workflows/ah_token_refresh.yml@v26.4.0
+ with:
+ environment: release
+ secrets:
+ ah_token: ${{ secrets.AH_TOKEN }}