Skip to content

Fix GitHub Action?

Fix GitHub Action? #4

Workflow file for this run

name: Update versions.md
on:
push:
branches:
- component_versions
jobs:
update_versions:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Update versions.md
run: sudo bin/version_scan
- name: Commit and push if it changed
run: |
git diff
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git commit -am "Update versions.md" || exit 0
git push