Skip to content

fix: let workflow run with default token #4

fix: let workflow run with default token

fix: let workflow run with default token #4

---
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:

Check failure on line 15 in .github/workflows/update-versions.yml

View workflow run for this annotation

GitHub Actions / update workflow from versions

Invalid workflow file

The workflow is not valid. .github/workflows/update-versions.yml (Line: 15, Col: 9): Unexpected value '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