Activity trigger #44
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: Activity trigger | |
on: | |
schedule: | |
- cron: '0 1 1 * *' | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Configure git updates | |
run: | | |
git config --global user.name 'adorsys GmbH & Co. KG' | |
git config --global user.email 'adorsysoss@users.noreply.github.com' | |
- name: Do some activity | |
run: | | |
echo "# Avoid This scheduled workflow is disabled because there hasn't been activity in this repository for at least 60 days." > ACTIVITY.md | |
date >> ACTIVITY.md | |
- name: git commit | |
run: | | |
git add ACTIVITY.md | |
git commit -m "Activity trigger $(date)" | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GH_PAT }} | |
branch: ${{ github.ref }} | |