Skip to content

Update profiles

Update profiles #2

name: Generate validation profile
on:
workflow_dispatch:
inputs:
pdfa1a:
required: true
description: pdfa1a
type: boolean
pdfa1b:
required: true
description: pdfa1b
type: boolean
jobs:
pdfa1a:

Check failure on line 16 in .github/workflows/update-profiles.yml

View workflow run for this annotation

GitHub Actions / Generate validation profile

Invalid workflow file

The workflow is not valid. .github/workflows/update-profiles.yml (Line: 16, Col: 3): The workflow must contain at least one job with no dependencies.
needs: paths-filter
if: github.event.inputs.pdfa1a == 'true'
uses: MaximPlusov/veraPDF-tools/.github/workflows/generate-profile.yml@master
with:
profile-path: '1a'
pdfa1b:
needs: paths-filter
if: github.event.inputs.pdfa1b == 'true'
uses: MaximPlusov/veraPDF-tools/.github/workflows/generate-profile.yml@master
with:
profile-path: '1b'
commit-profiles:
needs: [pdfa1a, pdfa1b]
name: Commit profiles
runs-on: ubuntu-20.04
steps:
- name: Commit to veraPDF-corpus.wiki
uses: drud/action-cross-commit@master
with:
source-folder: profile-merger/output
destination-repository: https://MaximPlusov:${{ secrets.WORKFLOW_TOKEN }}@github.com/MaximPlusov/veraPDF-validation-profiles
destination-folder: .
destination-branch: master
git-user: "Git User"
git-commit-message: "Update profiles"
git-commit-sign-off: "false"
excludes: .git:Home.md