Skip to content

Commit

Permalink
chore: add publiccode auto updater in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
astagi committed Sep 10, 2021
1 parent ca725c9 commit 8e1b91e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pc-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

name: Publiccode.yml update

on:
schedule:
- cron: '30 17 * * *'

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- 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 softwareVersion ${{ steps.pva.outputs.version }} and date in publiccode.yml"
branch: feature/publiccode-${{ steps.pva.outputs.version }}

0 comments on commit 8e1b91e

Please sign in to comment.