fix: let workflow run with default token #4
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: update workflow from versions | ||
on: | ||
push: | ||
branches: [ "develop" ] | ||
workflow_dispatch: | ||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
permissions: | ||
contents: write | ||
- uses: fregante/setup-git-user@v2 | ||
- name: Setup python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
- name: Update docker-publish workflow | ||
run: ./scripts/update_workflow.py | ||
- name: Push updates | ||
run: | | ||
git add . | ||
git diff-index --quiet HEAD || git commit -m "actions: update docker-publish workflow" | ||
git push |