diff options
author | Reza Mubeen <mrezam@hotmail.com> | 2025-06-11 00:15:42 -0500 |
---|---|---|
committer | Reza Mubeen <mrezam@hotmail.com> | 2025-06-11 00:15:42 -0500 |
commit | 9947d2b368fed081582c9f096cdd52f148dc50db (patch) | |
tree | ac3745702ddc5daa15fc333e218585269b6a6da7 | |
parent | f02bc8b2af6de47962e3670e719d756df0cba029 (diff) | |
download | vyos.vyos-9947d2b368fed081582c9f096cdd52f148dc50db.tar.gz vyos.vyos-9947d2b368fed081582c9f096cdd52f148dc50db.zip |
Add GitHub Actions workflow to refresh automation hub token
-rw-r--r-- | .github/workflows/refresh_token.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/refresh_token.yml b/.github/workflows/refresh_token.yml new file mode 100644 index 00000000..c71216b1 --- /dev/null +++ b/.github/workflows/refresh_token.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/devtools/.github/workflows/ah_token_refresh.yml@main + with: + environment: release + secrets: + ah_token: ${{ secrets.AH_TOKEN }}
\ No newline at end of file |