Skip to content

rename workflows

rename workflows #1

Workflow file for this run

name: Draft Release
on: push
permissions:
pull-requests: write
contents: write
jobs:
draft-release:

Check failure on line 10 in .github/workflows/draft-release.yml

View workflow run for this annotation

GitHub Actions / Draft Release

Invalid workflow file

The workflow is not valid. .github/workflows/draft-release.yml (Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.
name: Draft Release PR
needs:
- lint-test
- wporg-code-analysis
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create or Update Release PR
run: |
bash .bin/release-pr.sh