Skip to content

.github/workflows/ah_token_refresh.yml #4

.github/workflows/ah_token_refresh.yml

.github/workflows/ah_token_refresh.yml #4

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

Check failure on line 10 in .github/workflows/ah_token_refresh.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ah_token_refresh.yml

Invalid workflow file

error parsing called workflow ".github/workflows/ah_token_refresh.yml" -> "ansible/devtools/.github/workflows/ah_token_refresh.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
environment: release
secrets:
ah_token: ${{ secrets.AH_TOKEN }}