Skip to content

Update neuro-flow action tags #138

Update neuro-flow action tags

Update neuro-flow action tags #138

name: Update neuro-flow action tags
on:
schedule:
- cron: 0 0 * * *
jobs:
auto-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: pip install -U "PyGithub==1.55"
- id: run_updater
name: Run update actions script
run: python update_actions.py ".neuro/*.y*ml"
- id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.BOT_APP_ID }}
private_key: ${{ secrets.BOT_PRIVATE_KEY }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3.10.1
with:
token: ${{ steps.generate_token.outputs.token }}
branch: update/actions-tags
title: Auto-update actions tags
commit-message: Auto-update neuro-flow actions tags
body: |
Updated neuro-flow action version tags in the following
files: ${{ steps.run_updater.outputs.updated_files }}