Skip to content

Commit a652e73

Browse files
committed
update files of remote tegonal-gh-commons to version v4.2.0 via gt
1 parent 435889b commit a652e73

File tree

8 files changed

+48
-18
lines changed

8 files changed

+48
-18
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Creative Commons Zero v1.0 Universal
66
# /___/ Please report bugs and contribute back your improvements
77
#
8-
# Version: v4.0.0
8+
# Version: v4.2.0
99
###################################
1010

1111
# https://editorconfig.org

.github/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Creative Commons Zero v1.0 Universal
77
# /___/ Please report bugs and contribute back your improvements
88
#
9-
# Version: v4.0.0
9+
# Version: v4.2.0
1010
###################################
1111
-->
1212
# Contributor Covenant Code of Conduct

.github/workflows/cleanup.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,32 @@
55
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Creative Commons Zero v1.0 Universal
66
# /___/ Please report bugs and contribute back your improvements
77
#
8-
# Version: v4.0.0
8+
# Version: v4.2.0
99
###################################
1010
name: Cleanup
1111

12+
#gt-placeholder-trigger-start
1213
on:
1314
push:
1415
branches:
1516
- main
17+
#gt-placeholder-trigger-end
1618

19+
#gt-placeholder-permissions-start
1720
permissions:
1821
contents: read
22+
#gt-placeholder-permissions-end
1923

2024
jobs:
2125
build:
26+
#gt-placeholder-runs-on-start
2227
runs-on: ubuntu-latest
28+
#gt-placeholder-runs-on-end
2329
steps:
2430
- uses: actions/checkout@v5
31+
32+
#gt-placeholder-install-dependencies-start
33+
#gt-placeholder-install-dependencies-end
2534
# start inserted via pull-hook.sh - modify there
2635
- name: Setup JDK 17
2736
uses: actions/setup-java@v5
@@ -31,8 +40,28 @@ jobs:
3140
cache: sbt
3241
- uses: sbt/setup-sbt@v1
3342
# end inserted via pull-hook.sh - modify there
43+
3444
- name: Cleanup Sources
3545
run: ./scripts/cleanup-on-push-to-main.sh
46+
47+
- name: Check if actor is collaborator
48+
id: check-collaborator
49+
run: |
50+
user="${{ github.actor }}"
51+
repo="${{ github.repository }}"
52+
status=$(curl -s -o /dev/null -w '%{http_code}' \
53+
-H "Authorization: Bearer $GITHUB_TOKEN" \
54+
-H "Accept: application/vnd.github+json" \
55+
"https://api.github.com/repos/$repo/collaborators/$user")
56+
echo "status $status for user $user"
57+
if [ "$status" = "204" ]; then
58+
echo "reviewer=$user" >> $GITHUB_OUTPUT
59+
else
60+
echo "reviewer=" >> $GITHUB_OUTPUT
61+
fi
62+
env:
63+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
3665
- name: Create Pull Request if necessary
3766
uses: peter-evans/create-pull-request@v7
3867
with:
@@ -43,3 +72,4 @@ jobs:
4372
delete-branch: true
4473
token: ${{ secrets.AUTO_PR_TOKEN }}
4574
push-to-fork: ${{ vars.AUTO_PR_FORK_NAME != '' && vars.AUTO_PR_FORK_NAME || secrets.AUTO_PR_FORK_NAME }}
75+
reviewers: ${{ steps.check-collaborator.outputs.reviewer }}

.github/workflows/matrix_commons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Apache License 2.0
66
// /___/ Please report bugs and contribute back your improvements
77
//
8-
// Version: v4.0.0
8+
// Version: v4.2.0
99
//##################################
1010
// adapted version of https://github.com/vlsi/github-actions-random-matrix/blob/main/examples/matrix.js
1111
// licensed under Apache License 2.0
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
#@ Version: 1.1.0
2-
tag file relativeTarget tagFilter sha512
3-
v4.0.0 src/.github/workflows/matrix_commons.js ../.github/workflows/matrix_commons.js .* 5ba35dd6f48da99bc63673f50d12266738a9406b01a9e7740d157c8a9c70d084ec9bf654d9672cb41d927a4b555745aabe6373763982d6744fcb2833f45282d8
4-
v4.0.0 src/.github/CODE_OF_CONDUCT.md ../.github/CODE_OF_CONDUCT.md .* 603fc1d30b559b67e7d3eba10047d8dd6c83a1c7d0cf0fe63318ad694df87e388c38e1d8e203f4fbe7ca51e60954347cd79d989203c2cba31173e05a7178568d
5-
v4.0.0 src/gt/tegonal.data.source.sh ../lib/tegonal-gh-commons/src/gt/tegonal.data.source.sh .* 96d625aef1f66abc797ddfdb8daf6b2784b65ec0803bd97a2134461126f07eaea30e697a5a266f0e45ce95b3d3f0acf5c542e36c72f19fd044f1ef950ee9afb0
6-
v4.0.0 src/.github/PULL_REQUEST_TEMPLATE.md ../.github/PULL_REQUEST_TEMPLATE.md .* 9112d1ea1f72ea250cdfe686fc152e63f2e0cdcea9c46935289471d7a3f54c35af8a3f283570f5d863e936c7782939c7b1548cb7d4ccda712bbf9314926f58cb
7-
v4.0.0 src/gt/pull-hook-functions.sh ../lib/tegonal-gh-commons/src/gt/pull-hook-functions.sh .* f59d568827f25cce73e9e23603140550c68a3da4650a9aad76e8545e12ed2e46843392f564d372281c2b107460c6caee3561b2c366282b5f3cf09d2b9d3dc9d4
8-
v4.0.0 src/.github/Contributor Agreement.txt ../.github/Contributor Agreement.txt .* 0b9a8a954edf302ca5fe0062b7e283d3da06a6bc0631a812663095a78b3a734cefb43b725ae342694d770be75206124c42a1150e168fac33f28aebea0bda35ec
9-
v4.0.0 src/dotfiles/.editorconfig ../.editorconfig .* 3bbf7be3e68d3a208f1ee87ea081e0c784614a754137fd2b9caa78759895a7c33cd3d052ffc79b08f5e0a5e7a8fbecad402f1a7ddd33dd5d379522c65662ca02
10-
v4.0.0 src/.github/workflows/cleanup.yml ../.github/workflows/cleanup.yml .* dc047c2cd09fb56b696e9dd58b88f3c7864fb339e338d5b37a17734b740bdde7068a200710ddae3e501e50fa022e51ca84ede7fc2705e8929ccb4eb608651736
11-
v4.0.0 src/dotfiles/.shellcheckrc ../.shellcheckrc .* 182af1738fd2a8d1c23f7c575c7e8f222f8a20ac92122a6edaeffed74c19bce2f9a68c9e6a85eb7d56b4207a4634d8df8b166215d0fed43aa85d64c6ed3c8229
1+
#@ Version: 1.2.0
2+
tag file relativeTarget tagFilter hasPlaceholder sha512
3+
v4.2.0 src/.github/workflows/matrix_commons.js ../.github/workflows/matrix_commons.js .* false d200a775c748e606a25615e59f721c171cec98b00a112ada8bda7b3a0cca34685fd92320c7f083eca1309932932f04b8a0f1e68e1608344b674df37e3261ecc1
4+
v4.2.0 src/.github/CODE_OF_CONDUCT.md ../.github/CODE_OF_CONDUCT.md .* false 2ab05247219f9816a3be4d76144c647500f2d6044ce917615a726fbd7adcb4f4625772e4ece5bdeca7da9af4ae7d1b03ed96bde2a2a8134afeb1964f0fce3f00
5+
v4.2.0 src/gt/tegonal.data.source.sh ../lib/tegonal-gh-commons/src/gt/tegonal.data.source.sh .* false f324a7f032432f3a465dcd7bb2f27fe1f208c0fedaa9269896a11d16fa1481064a62b9c752416c5fb9e6d0a45e39676e5e7d5398a0b0efb8678a354f2de832d1
6+
v4.2.0 src/.github/PULL_REQUEST_TEMPLATE.md ../.github/PULL_REQUEST_TEMPLATE.md .* false 9112d1ea1f72ea250cdfe686fc152e63f2e0cdcea9c46935289471d7a3f54c35af8a3f283570f5d863e936c7782939c7b1548cb7d4ccda712bbf9314926f58cb
7+
v4.2.0 src/gt/pull-hook-functions.sh ../lib/tegonal-gh-commons/src/gt/pull-hook-functions.sh .* false e89726c87fead32d990867ceece823e0cbab8fc8a73236b45efb2a7b48472569f1ced18c4829135b2fa14f4197a940eaa6e3ece47e6f4b1f40c0ea29f913fed8
8+
v4.2.0 src/.github/Contributor Agreement.txt ../.github/Contributor Agreement.txt .* false 0b9a8a954edf302ca5fe0062b7e283d3da06a6bc0631a812663095a78b3a734cefb43b725ae342694d770be75206124c42a1150e168fac33f28aebea0bda35ec
9+
v4.2.0 src/dotfiles/.editorconfig ../.editorconfig .* false de9f9dcd6ff43b0bf183ddb26cc9fae820eecc9ffbee1797e213e0216c42d73606a231613a7872486bb95413ca417255374b388b0e5118f3730e4689ba3d1502
10+
v4.2.0 src/.github/workflows/cleanup.yml ../.github/workflows/cleanup.yml .* true c01d45a29ce50be8851b6c372eda4b50bff77df8f7189c189bc2231ead89dd564eab211fa3bb6d7afbbfbec499fb7b514b30bb6efe4437a97e041836421cac14
11+
v4.2.0 src/dotfiles/.shellcheckrc ../.shellcheckrc .* false 70028305482349a30b61d8b8be828ae0a94b2647f13fc54bf339fa8cc37d6406ba551d4f657596c2820bd0ded81f7440ae1759214857a463fa9c71a897be3dfa

.shellcheckrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Creative Commons Zero v1.0 Universal
66
# /___/ Please report bugs and contribute back your improvements
77
#
8-
# Version: v4.0.0
8+
# Version: v4.2.0
99
###################################
1010

1111
# SC2250 = Prefer putting braces around variable references even when not strictly required.

lib/tegonal-gh-commons/src/gt/pull-hook-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Creative Commons Zero v1.0 Universal
77
# /___/ Please report bugs and contribute back your improvements
88
#
9-
# Version: v4.0.0
9+
# Version: v4.2.0
1010
####### Description #############
1111
#
1212
# functions which can be used to update the placeholders in the templates in a gt pull-hook.sh

lib/tegonal-gh-commons/src/gt/tegonal.data.source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under European Union Public License 1.2
88
# /___/ Please report bugs and contribute back your improvements
99
#
10-
# Version: v4.0.0
10+
# Version: v4.2.0
1111
####### Description #############
1212
#
1313
# constants intended to be sourced into a function.

0 commit comments

Comments
 (0)