This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
Bau amend workflows #147
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: tag-to-release | |
permissions: | |
contents: write | |
on: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- main | |
push: | |
tags: | |
- v[0-9]+.[0-9]+.[0-9]+ | |
- v[0-9]+.[0-9]+.[0-9]+-prerelease | |
paths-ignore: | |
- '**/README.md' | |
env: | |
# This uses the default config, since | |
# build is not a actual config file in envs. | |
FLASK_ENV : build | |
jobs: | |
tag-to-release: | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
uses: communitiesuk/funding-service-design-workflows/.github/workflows/tag-to-release.yml@main | |
with: | |
build_static_assets: false | |
paketo_build: | |
needs: tag-to-release | |
permissions: | |
packages: write | |
uses: communitiesuk/funding-service-design-workflows/.github/workflows/package.yml@main | |
with: | |
version_to_build: ${{ needs.tag-to-release.outputs.new_tag }} | |
owner: ${{ github.repository_owner }} | |
application: funding-service-design-fund-store |