Autofix #783
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: Autofix | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '2 0 * * *' | |
# Allow one concurrent deployment | |
concurrency: | |
group: "pages" | |
cancel-in-progress: true | |
jobs: | |
fix: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Zig | |
uses: goto-bus-stop/setup-zig@v1 | |
with: | |
version: master | |
- name: Fix package metadata | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y libcurl4-openssl-dev | |
zig build fix | |
- name: Auto commit | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Automated Change to packages | |
file_pattern: 'packages/*.json' | |
commit_author: Actions <[email protected]> |