diff options
author | Yuriy Andamasov <yuriy@vyos.io> | 2025-06-23 01:13:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-23 01:13:25 +0200 |
commit | b92f61bc342adc4291c989f5407deeb86dcd77fe (patch) | |
tree | 92a0c93493c46039298093b6e67a73caadaedde6 /.github/workflows/ah_token_refresh.yml | |
parent | bc2ac8b53986b4af9b4e8874e4a589a4e8eca576 (diff) | |
download | vyos.vyos-ah_token_refresh.tar.gz vyos.vyos-ah_token_refresh.zip |
Update and rename refresh_token.yml to ah_token_refresh.ymlah_token_refresh
Fixing the Automation Hub token refresh workflow
Diffstat (limited to '.github/workflows/ah_token_refresh.yml')
-rw-r--r-- | .github/workflows/ah_token_refresh.yml | 14 |
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 00000000..096685dd --- /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@v22.5.0 + with: + environment: release + secrets: + ah_token: ${{ secrets.AH_TOKEN }} |