Publiccode.yml update #827
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publiccode.yml update | |
on: | |
schedule: | |
- cron: '30 17 * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Fixup git permissions | |
# https://github.com/actions/checkout/issues/766 | |
shell: bash | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Check publiccode.yml version and date ✅ | |
uses: italia/publiccode-softwareversion-check-action@master | |
id: pva | |
- name: Create Pull Request ⏫ | |
uses: peter-evans/create-pull-request@v3 | |
if: failure() | |
with: | |
title: "chore: update software version ${{ steps.pva.outputs.version }} and date in publiccode.yml" | |
branch: feature/publiccode-${{ steps.pva.outputs.version }} |