gentoo-zh/.github/workflows/generate-deps-relation-r1.yml
dependabot[bot] 3d007232e9 build(deps): bump actions/checkout from 2 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-02 06:12:57 +08:00

35 lines
830 B
YAML

name: dependencies table
on:
push:
branches:
- master
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository code
uses: actions/checkout@v4
with:
ref: deps-table
fetch-depth: 5
- name: Fetch gentoo-zh repo
uses: actions/checkout@v4
with:
ref: master
path: gentoo-zh
- name: Update packages relation
id: update_relation
shell: bash
run: ./update-relation.sh
- name: Push changes
if: ${{ steps.update_relation.outputs.state == 'changed' }}
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: deps-table
force: true