void-packages/.forgejo/workflows/pull-upstream.yaml

26 lines
870 B
YAML
Raw Normal View History

2024-05-21 21:32:22 +02:00
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Pull upstream commits
on:
schedule:
2024-05-22 13:48:28 +02:00
- cron: "0 0 * * *"
2024-05-21 21:32:22 +02:00
jobs:
2024-05-22 10:54:41 +02:00
sync_upstream:
2024-05-21 21:32:22 +02:00
runs-on: ubuntu-latest
steps:
2024-05-22 10:54:41 +02:00
- name: Checkout target repo
chore(deps): update actions/checkout action to v4.1.7 (#44) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://code.forgejo.org/actions/checkout) | action | patch | `v4.1.6` -> `v4.1.7` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v4.1.7`](https://code.forgejo.org/actions/checkout/blob/HEAD/CHANGELOG.md#v417) [Compare Source](https://code.forgejo.org/actions/checkout/compare/v4.1.6...v4.1.7) - Bump the minor-npm-dependencies group across 1 directory with 4 updates by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/actions/checkout/pull/1739 - Bump actions/checkout from 3 to 4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/actions/checkout/pull/1697 - Check out other refs/\* by commit by [@&#8203;orhantoy](https://github.com/orhantoy) in https://github.com/actions/checkout/pull/1774 - Pin actions/checkout's own workflows to a known, good, stable version. by [@&#8203;jww3](https://github.com/jww3) in https://github.com/actions/checkout/pull/1776 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguNiIsInVwZGF0ZWRJblZlciI6IjM3LjM2OC42IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Reviewed-on: https://git.snaile.de/snailed/void-packages/pulls/44 Co-authored-by: Johnny5 <bot@snaile.de> Co-committed-by: Johnny5 <bot@snaile.de>
2024-07-20 15:31:21 +02:00
uses: https://code.forgejo.org/actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2024-05-21 21:32:22 +02:00
2024-05-22 10:54:41 +02:00
- name: Pull upstream repo
uses: https://github.com/aormsby/Fork-Sync-With-Upstream-action@1090e365224fc834e7e1de521c417ded2d6fcb53 # v3.4.1
2024-05-22 10:54:41 +02:00
with:
target_sync_branch: master
target_repo_token: ${{ secrets.GITHUB_TOKEN }}
upstream_sync_branch: master
2024-05-24 11:19:05 +02:00
upstream_sync_repo: void-linux/void-packages
2024-05-22 10:54:41 +02:00
upstream_repo_access_token: ${{ secrets.API_TOKEN_GITHUB }}
2024-05-21 21:32:22 +02:00
2024-05-22 10:54:41 +02:00
- name: Print status
run: echo ${{ steps.sync.outputs.has_new_commits }}