Skip to content

ci: autoapproval process #91

ci: autoapproval process

ci: autoapproval process #91

Workflow file for this run

name: Build & Release
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
with:
experimental: true
- name: Create Release
uses: google-github-actions/release-please-action@v4
id: release
- name: Build Package
run: |
mise run pull-schema
pkl project package src
- name: Upload Release Artifact
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TAG=${{ steps.release.outputs.tag_name }}
gh release upload ${{ steps.release.outputs.tag_name }} .out/$TAG/*
gh release edit ${{ steps.release.outputs.tag_name }} -t ${{ steps.release.outputs.tag_name }}
- name: Approve PR
uses: hmarr/auto-approve-action@v4
with:
pull-request-number: ${{ release.outputs.pr.number }}

Check failure on line 37 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Build & Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 37, Col: 32): Unrecognized named-value: 'release'. Located at position 1 within expression: release.outputs.pr.number