Skip to content

Remove unused jobs

Remove unused jobs #4

Workflow file for this run

name: Alphabetise extension list
on:
push:
branches: [ main ]
paths:
- antora-playbook.yml
workflow_dispatch:
defaults:
run:
shell: bash
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:

Check failure on line 22 in .github/workflows/alphabetise.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/alphabetise.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
- uses: actions/checkout@v4
- name: Alphabetise
id: alpha
run: |
yq '.content.sources |= sort_by(.url)' antora-playbook.yml > antora-playbook-sorted.yml
mv antora-playbook-sorted.yml antora-playbook.yml
- name: Create Pull Request
run: |
git checkout -b alpha-${{ github.run_id }}
git add antora-playbook.yml
git commit -m "Automatic alphabetisation"
git push
gh pr create --title "Automatic alphabetisation" --fill --repo $GITHUB_REPOSITORY
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}