app-shells/zfe: add nvchecker
[gentoo-zh.git] / .github / workflows / generate-deps-relation-r1.yml
blob09a51940cc2c15a336b53475cc8297ae389c7cd4
1 name: dependencies table
2 on:
3   push:
4     branches:
5       - master
6   workflow_dispatch:
8 jobs:
9   generate:
10     runs-on: ubuntu-latest
11     permissions:
12       contents: write
13     steps:
14       - name: Checkout repository code
15         uses: actions/checkout@v4
16         with:
17           ref: deps-table
18           fetch-depth: 5
19       - name: Fetch gentoo-zh repo
20         uses: actions/checkout@v4
21         with:
22           ref: master
23           path: gentoo-zh
24       - name: Update packages relation
25         id: update_relation
26         shell: bash
27         run: ./update-relation.sh
28       - name: Push changes
29         if: ${{ steps.update_relation.outputs.state == 'changed' }}
30         uses: ad-m/github-push-action@master
31         with:
32           github_token: ${{ secrets.GITHUB_TOKEN }}
33           branch: deps-table
34           force: true