This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://github.com/actions/checkout) | action | pinDigest | → `3d3c42e` | --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMDYuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjIwNi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: #2 Co-authored-by: Renovate Bot <renovate-bot@trivk.dev>
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
name: Bump formulae
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "17 */2 * * *"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
bump:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
|
|
- run: |
|
|
echo "BUMP_DIR=$RUNNER_TEMP/bumps" >> "$GITHUB_ENV"
|
|
mkdir -p "$RUNNER_TEMP/bumps"
|
|
|
|
# Each script edits its own files and leaves committing to the last step, so every bump
|
|
# gets its own commit. The scripts ask api.github.com without a token: two requests per run
|
|
# is far below the 60 an hour GitHub allows per IP.
|
|
- name: Bump netbird
|
|
run: .github/scripts/bump-netbird.sh
|
|
|
|
- name: Bump zshellcheck
|
|
run: .github/scripts/bump-zshellcheck.sh
|
|
|
|
- name: Commit and push
|
|
run: |
|
|
set -euo pipefail
|
|
git config user.name "gitea-actions"
|
|
git config user.email "gitea-actions@git.trivk.dev"
|
|
shopt -s nullglob
|
|
for record in "$BUMP_DIR"/*; do
|
|
mapfile -t lines < "$record"
|
|
git add -- "${lines[@]:1}"
|
|
git commit -m "${lines[0]}"
|
|
done
|
|
git diff --quiet origin/main HEAD || git push
|