diff --git a/.github/workflows/validate_citation.yml b/.github/workflows/validate_citation.yml index 59ba05db2..d905d8052 100644 --- a/.github/workflows/validate_citation.yml +++ b/.github/workflows/validate_citation.yml @@ -1,22 +1,16 @@ on: - push: - branches: [main] + pull_request: paths: - CITATION.cff - pull_request: workflow_dispatch: -name: CITATION.cff jobs: - Validate-CITATION-cff: + validate-citation: runs-on: ubuntu-latest - name: Validate CITATION.cff env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Validate CITATION.cff - uses: dieghernan/cff-validator@v3 + - uses: dieghernan/cff-validator@v3