name: Auto Refresh on: workflow_dispatch: schedule: - cron: "0 */2 * * *" jobs: auto-update: runs-on: technocality steps: - uses: actions/checkout@v4 with: token: ${{ secrets.FORGEJO_TOKEN }} - name: Set up Go uses: actions/setup-go@v5 with: go-version: 'stable' cache: false - name: Install Packwiz run: go install github.com/packwiz/packwiz@latest - name: Install Packwiz Wrapper run: go install github.com/Merith-TK/packwiz-wrapper/cmd/pw@main - name: Refresh run: | chmod +x refresh-all.sh ./refresh-all.sh - name: Commit Updates uses: https://github.com/EndBug/add-and-commit@v9.1.4 with: author_name: forgejo-actions[bot] author_email: omo50@noreply.nostalgica.net message: 'Forgejo Actions (${{forgejo.workflow}})'