mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 07:18:58 -04:00
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>
35 lines
830 B
YAML
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
|