From b92f61bc342adc4291c989f5407deeb86dcd77fe Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Mon, 23 Jun 2025 01:13:25 +0200 Subject: Update and rename refresh_token.yml to ah_token_refresh.yml Fixing the Automation Hub token refresh workflow --- .github/workflows/ah_token_refresh.yml | 14 ++++++++++++++ .github/workflows/refresh_token.yml | 14 -------------- 2 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/ah_token_refresh.yml delete mode 100644 .github/workflows/refresh_token.yml (limited to '.github/workflows') 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 }} diff --git a/.github/workflows/refresh_token.yml b/.github/workflows/refresh_token.yml deleted file mode 100644 index a75f9633..00000000 --- a/.github/workflows/refresh_token.yml +++ /dev/null @@ -1,14 +0,0 @@ -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@v22.5.0 - with: - environment: release - secrets: - ah_token: ${{ secrets.AH_TOKEN }} -- cgit v1.2.3