Skip to content

Release

Release #16

Workflow file for this run

name: Release
"on":
create:
pull_request:
types: [opened, synchronize]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
openPR:
runs-on: ubuntu-22.04
permissions:
pull-requests: read
steps:
- uses: actions/checkout@v4
- uses: tj-actions/changed-files@v45
id: updCont
with:
files: |
content/**
data/**
- uses: tj-actions/changed-files@v45
id: updSrc
with:
files: |
*
!content/**
!data/**
- name: Create PR
if: ${{ github.event_name }} != create
with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |

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

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 37, Col: 9): Unexpected value 'run' .github/workflows/release.yml (Line: 33, Col: 9): Required property is missing: uses
gh pr create \
--base "main" \
--head "${{ github.ref_name }}" \
--title "${{ github.ref_name }}" \
--body "" \
--draft
- name: Mark as post
if: steps.updCont.outputs.any_changed == true
with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr edit "${{ github.ref_name }}" --add-label "create post"
- name: Mark as dev
if: steps.updSrc.outputs.any_changed == true
with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr edit "${{ github.ref_name }}" --add-label "development"