Skip to content

chore(main): release 1.1.0 (#4) #5

chore(main): release 1.1.0 (#4)

chore(main): release 1.1.0 (#4) #5

# Reusable release-please workflow
# This is a reusable workflow that can be called from other repositories
on:
workflow_call:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
name: release-please
jobs:
release-please:
runs-on: ARM64
steps:
- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.GH_ACTIONS_HELPER_APP_ID }}
private-key: ${{ secrets.GH_ACTIONS_HELPER_PK }}
- name: Checkout caller repository
uses: actions/checkout@v4
with:
token: ${{ steps.generate_token.outputs.token }}
- name: Checkout shared config repository
uses: actions/checkout@v4
with:
repository: learning-commons-org/shared-github-actions
path: .release-please-config
token: ${{ steps.generate_token.outputs.token }}
- name: Copy release-please config from shared repository
run: |
cp .release-please-config/release-please-config.json ./release-please-config.json
- uses: chanzuckerberg/github-actions/.github/actions/release-please-semvar@v6
with:
app_token: ${{steps.generate_token.outputs.token}}
include_component_in_tag: true