Skip to content

Executing release on UK-Export-Finance/exip πŸš€ #286

Executing release on UK-Export-Finance/exip πŸš€

Executing release on UK-Export-Finance/exip πŸš€ #286

Workflow file for this run

# EXIP Git Hub Actions
#####################################
# This GHA is responsible for creating automated
# GitHub release based PR. Once the PR is merged
# Google release please will update the `CHANGELOG.md`
# `README.md` and `package.json` files.
# Followed by tagging the commit with the appropriate version
# number (as per SemVer) and create a GitHub release on the tag.
name: Automated release
run-name: Executing release on ${{ github.repository }} πŸš€
on:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
# 1. Setup test infrastructure
setup:
name: Infrastructure setup πŸ”§
runs-on: ubuntu-latest
outputs:
environment: ${{ env.environment }}
timezone: ${{ env.timezone }}
steps:
- name: Environment πŸ§ͺ
run: echo "Environment set to ${{ env.environment }}"
- name: Timezone 🌐
run: echo "Timezone set to ${{ env.timezone }}"
# 2. Update files
release:
name: Release ✨
needs: setup
environment:
name: ${{ needs.setup.outputs.environment }}
runs-on: ubuntu-latest
steps:
- name: Repository
uses: actions/checkout@v4
- name: Create
uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.RELEASE_TOKEN }}
release-type: node