File tree Expand file tree Collapse file tree 6 files changed +164
-0
lines changed
Expand file tree Collapse file tree 6 files changed +164
-0
lines changed Original file line number Diff line number Diff line change 1+ # inherits settings from https://github.com/Manjaro-Sway/.github/blob/main/.github/settings.yml
2+ _extends : manjaro-contrib/.github
3+ repository :
4+ homepage : https://gitlab.manjaro.org/packages/community/themes/matcha-kde-theme.git
5+ # you can extend settings using https://probot.github.io/apps/settings/
Original file line number Diff line number Diff line change 1+ name : bootstrap
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : ' 0 1-23/2 * * *'
6+
7+ jobs :
8+ bootstrap_actions :
9+ runs-on : ubuntu-latest
10+ permissions : write-all
11+ steps :
12+ - name : checkout
13+ uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
14+ with :
15+ token : ${{ secrets.BOOTSTRAP_WORKFLOWS || github.token }}
16+ - id : bootstrap
17+ uses : manjaro-contrib/action-bootstrap-actions@main
18+ with :
19+ upstream : https://gitlab.manjaro.org/packages/community/themes/matcha-kde-theme.git
Original file line number Diff line number Diff line change 1+ name : pkgbuild
2+
3+ on :
4+ repository_dispatch :
5+ types :
6+ - rebase
7+ workflow_dispatch :
8+ push :
9+ branches :
10+ - master
11+ - main
12+
13+ concurrency :
14+ group : ${{ github.workflow }}
15+ cancel-in-progress : true
16+
17+ jobs :
18+ version :
19+ name : gather information
20+ runs-on : ubuntu-latest
21+ steps :
22+ - name : check out repo
23+ uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
24+ - id : version
25+ uses : manjaro-contrib/action-pkgbuild-info@main
26+ outputs :
27+ runs-on : ${{ steps.version.outputs.runs-on }}
28+ version : ${{ steps.version.outputs.version }}
29+ branches : ${{ steps.version.outputs.branches }}
30+ pkgbuild :
31+ name : building version ${{ needs.version.outputs.version }} against ${{ matrix.branch }} on ${{ matrix.runs-on }}
32+ needs : [version]
33+ if : needs.version.outputs.branches != ''
34+ continue-on-error : true
35+ strategy :
36+ matrix :
37+ branch : ${{ fromJSON(needs.version.outputs.branches) }}
38+ runs-on : ${{ fromJSON(needs.version.outputs.runs-on) }}
39+ runs-on : ${{ matrix.runs-on }}
40+ permissions :
41+ contents : write
42+ packages : write
43+ container :
44+ image : docker://manjarolinux/build:latest
45+ steps :
46+ - name : pkgbuild
47+ uses : manjaro-contrib/action-makepkg@main
48+ with :
49+ branch : ${{ matrix.branch }}
50+ release : ${{ matrix.branch }}-${{ needs.version.outputs.version }}
51+ dispatch-target : ${{ vars.PACKAGES_REPO }}
52+ dispatch-token : ${{ secrets.DISPATCH_TOKEN }}
53+ gpg_secret_base64 : ${{ secrets.gpg_secret_base64 }}
54+ additional_gpg : ${{ vars.ADDITIONAL_GPG }}
55+ additional_repo : ${{ vars.ADDITIONAL_REPO }}
Original file line number Diff line number Diff line change 1+ name : rebase
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : ' */30 * * * *'
7+
8+ concurrency :
9+ group : rebase
10+ cancel-in-progress : true
11+
12+ jobs :
13+ rebase :
14+ runs-on : ubuntu-latest
15+ permissions :
16+ contents : write
17+ pull-requests : write
18+ steps :
19+ - name : rebase
20+ uses : manjaro-contrib/action-rebase@main
21+ with :
22+ upstream : https://gitlab.manjaro.org/packages/community/themes/matcha-kde-theme.git
23+ dispatch-target : ${{ vars.PACKAGES_REPO }}
24+ dispatch-token : ${{ secrets.DISPATCH_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : set version to src version
2+
3+ on :
4+ repository_dispatch :
5+ types :
6+ - source_update
7+
8+ concurrency :
9+ group : ${{ github.workflow }}
10+ cancel-in-progress : true
11+
12+ jobs :
13+ update-version :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : check out the repo
17+ id : checkout_repo
18+ uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
19+ with :
20+ token : ${{ secrets.DISPATCH_TOKEN }}
21+ - name : update pkgbuild
22+ env :
23+ VERSION : ${{ github.event.client_payload.version }}
24+ MD5 : ${{ github.event.client_payload.md5 }}
25+ run : |
26+ [ -n "$VERSION" ] && sed -i "/pkgver=/c\pkgver=${VERSION}" PKGBUILD || exit 0
27+ [ -n "$MD5" ] && sed -i "/_sourcemd5=/c\_sourcemd5=${MD5}" PKGBUILD || exit 0
28+ - name : commit
29+ run : |
30+ git config --global user.name "Repo Update Bot"
31+ git config --global user.email "[email protected] " 32+ git add PKGBUILD
33+ git commit -m "chore: release version ${{ github.event.client_payload.version }}"
34+ git push
Original file line number Diff line number Diff line change 1+ name : submit
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - main
8+
9+ concurrency :
10+ group : ${{ github.workflow }}
11+ cancel-in-progress : true
12+
13+ jobs :
14+ resubmit :
15+ runs-on : ubuntu-latest
16+ strategy :
17+ matrix :
18+ branch : [stable, testing, unstable]
19+ permissions :
20+ contents : write
21+ steps :
22+ - name : submit
23+ uses : manjaro-contrib/action-submit@main
24+ with :
25+ dispatch-target : ${{ vars.PACKAGES_REPO }}
26+ dispatch-token : ${{ secrets.DISPATCH_TOKEN }}
27+ branch : ${{ matrix.branch }}
You can’t perform that action at this time.
0 commit comments