blob: 0346920eacf7dbf5e1f6a38839ce42f60d92eadf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.1.0
with:
environment: release
secrets:
ah_token: ${{ secrets.AH_TOKEN }}
|