Skip to content

special_updates

special_updates #3

name: special_updates
# Controls when the workflow will run
on:
# # Triggers the workflow on push or pull request events but only for the "main" branch
# push:
# branches: ["main"]
# pull_request:
# branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
workflows: write

Check failure on line 18 in .github/workflows/special_updates.yml

View workflow run for this annotation

GitHub Actions / special_updates

Invalid workflow file

The workflow is not valid. .github/workflows/special_updates.yml (Line: 18, Col: 3): Unexpected value 'workflows'
jobs:
node_setup:
runs-on: ubuntu-latest
# continue-on-error: true
steps:
#### actions/checkout ____________________________________________________
# @see https://github.com/actions/checkout
- uses: actions/checkout@v3
#### setup-python ________________________________________________________
# @see https://github.com/actions/setup-python
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: 'pip' # caching pip dependencies
#### main ________________________________________________________________
- run: |
git submodule init
git submodule update
cd oswm_codebase
git pull -r https://github.com/kauevestena/oswm_codebase
cd ..
#### setup dependencies __________________________________________________
- run: pip install -r requirements.txt
#### main ________________________________________________________________
- run: python oswm_codebase/special_updates.py
#### upload ______________________________________________________________
# @see https://github.com/actions/checkout#push-a-commit-using-the-built-in-token
- run: |
git config user.name github-actions
git config user.email [email protected]
git pull
git add .
git commit -m "node setup commit"
git push