Skip to content

Update shared-release-branches.yml #1

Update shared-release-branches.yml

Update shared-release-branches.yml #1

name: "Shared release branches"
on:
workflow_call:
inputs:
runs-on:
description: "Overrides job runs-on setting (json-encoded list)"
type: string
required: false
default: '["ubuntu-latest"]'
permissions: {}
jobs:
major-release-tagger:
runs-on: ${{ fromJSON(inputs.runs-on) }}
environment: release
steps:
- uses: actions/create-github-app-token@v1
id: github-app
with:
app-id: ${{ vars.BOT_GITHUB_APP_ID }}
private-key: ${{ secrets.BOT_GITHUB_APP_PRIVATE_KEY }}
- uses: cloudposse/github-action-major-release-tagger@v2
token: ${{ steps.github-app.outputs.token }}

Check failure on line 26 in .github/workflows/shared-release-branches.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/shared-release-branches.yml

Invalid workflow file

You have an error in your yaml syntax on line 26
release-branch-manager:
runs-on: ${{ fromJSON(inputs.runs-on) }}
environment: release
steps:
- uses: actions/create-github-app-token@v1
id: github-app
with:
app-id: ${{ vars.BOT_GITHUB_APP_ID }}
private-key: ${{ secrets.BOT_GITHUB_APP_PRIVATE_KEY }}
- uses: cloudposse/github-action-release-branch-manager@v2
with:
token: ${{ steps.github-app.outputs.token }}