--- name: "📝 Update 7-Zip" on: schedule: - cron: "0 2 16 * *" env: ACTIONS_ALLOW_UNSECURE_COMMANDS: "true" jobs: update7zip: runs-on: "ubuntu-latest" steps: - uses: actions/checkout@v3 - run: echo "::set-env name=LATEST_7ZIP::$(curl -s https://raw.githubusercontent.com/chxseh/update-7zip-inside-repos/main/latest/latest.txt | head -n 1)" - run: curl https://raw.githubusercontent.com/chxseh/update-7zip-inside-repos/main/update-repos/update.sh | bash - uses: peter-evans/create-pull-request@v5 with: commit-message: 📝 Update 7-Zip title: Update 7-Zip to ${{ env.LATEST_7ZIP }} body: Update 7-Zip to ${{ env.LATEST_7ZIP }} branch: update-7zip-${{ env.LATEST_7ZIP }} author: "github-actions <41898282+github-actions[bot]@users.noreply.github.com>" delete-branch: true