fetch-depth 0 #4
Workflow file for this run
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: Generate release for Altinn Studio | |
on: | |
# schedule: | |
# # run every friday at 15:00 | |
# - cron: '0 9 * * 5' | |
# workflow_dispatch: | |
# For testing purposes, remove before merge | |
push: | |
branches: | |
- chore/auto-generate-release | |
jobs: | |
generate-release: | |
name: Run release script | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
path: altinn-studio | |
fetch-tags: true | |
fetch-depth: 0 | |
- name: Run release script | |
working-directory: altinn-studio | |
run: | | |
bash .github/scripts/release.sh \ | |
--github-token ${{ secrets.GITHUB_TOKEN }} \ | |