Skip to content

Check for updates

Check for updates #64

Workflow file for this run

name: Check for updates
on:
push:
branches:
- '*'
schedule:
- cron: '0 0 * * *'
# Runs at midnight UTC every day
jobs:
update_versioning:
runs-on: ubuntu-latest
env:
API_KEY: ${{ secrets.API_KEY }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
actions: write
checks: write
contents: write
deployments: write
id-token: write
packages: write
pages: write
pull-requests: write
repository-projects: write
statuses: write
steps:
- name: Check out the repository
uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch the complete commit history
- name: Set up Git
run: |
git config user.email "daniel.ellis@ext.esa.int"
git config user.name "Daniel Ellis"
git config credential.helper store
git config --global user.email "daniel.ellis@ext.esa.int"
git config --global user.name "Daniel Ellis"
git config --global push.default current
echo "GH_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
shell: bash
- name: content update
id: run-python-script
run: python .github/generate.py
shell: bash