Skip to content
name: Update packages list
on:
schedule:
- cron: '0 0 1 1-12/1 *' # Run every month
push:
branches:
- update-action
workflow_dispatch: {}
jobs:
test:
runs:

Check failure on line 12 in .github/workflows/update-packages-list2.yml

View workflow run for this annotation

GitHub Actions / Update packages list

Invalid workflow file

The workflow is not valid. .github/workflows/update-packages-list2.yml (Line: 12, Col: 5): Unexpected value 'runs' .github/workflows/update-packages-list2.yml (Line: 12, Col: 5): Required property is missing: runs-on
using: 'docker'
image: 'elixir'
name: Update packages list in README
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_TOKEN }}
- name: Update packages list
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
elixir update_packages_list.exs
git config user.name 'Membrane Bot'
git config user.email '[email protected]'
git checkout -b auto-update-packages-list
git add README.md
git commit -m"auto update packages list in readme"
git push -u origin auto-update-packages-list
gh pr create -B master -H auto-update-packages-list --title 'Auto update packages list'