Skip to content

.github/workflows/token_refresh_rh_subscription_manager.yml #1

.github/workflows/token_refresh_rh_subscription_manager.yml

.github/workflows/token_refresh_rh_subscription_manager.yml #1

---
name: Refresh the RHSM 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@main
with:
environment: release
secrets:
ah_token: ${{ secrets.RHSM_TOKEN }}