This repository has been archived by the owner on May 28, 2024. It is now read-only.
tag-release #627
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tag-release | |
on: | |
schedule: | |
- cron: "0 1 * * 1-5" # run at 1 AM UTC on weekdays | |
workflow_dispatch: | |
jobs: | |
tag-release: | |
runs-on: ubuntu-latest | |
name: Tag release if changes | |
steps: | |
- name: Generate a token | |
id: generate_token | |
uses: actions/create-github-app-token@v1 | |
with: | |
app-id: ${{ secrets.AGENCY_RELEASER_ID }} | |
private-key: ${{ secrets.AGENCY_RELEASER_KEY }} | |
- uses: findy-network/releaser-action@master | |
with: | |
token: ${{ steps.generate_token.outputs.token }} | |
gate: test | |
env: | |
GH_TOKEN: ${{ steps.generate_token.outputs.token }} |