Skip to content

Commit 3b7e120

Browse files
Kidswissgithub-actions[bot]
authored andcommitted
chore: accept new Cruft update
1 parent cf1e975 commit 3b7e120

File tree

9 files changed

+642
-109
lines changed

9 files changed

+642
-109
lines changed

.cruft.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"template": "https://github.com/vshn/appcat-cookiecutter",
3-
"commit": "5309ae05edb3c118e23e64e8ec0bed2b6768ac86",
3+
"commit": "8f29fab7ec7458dacdc42e208806c5669162d87f",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
77
"app_name": "statefulset-resize-controller",
8+
"appcat_repo": "vshn/appcat",
89
"component_repo": "vshn/component-appcat",
910
"push_upbound": false,
1011
"push_package": false,
@@ -13,7 +14,8 @@
1314
".github/workflows/cruft-update.yml",
1415
".github/changelog-configuration.json"
1516
],
16-
"_template": "https://github.com/vshn/appcat-cookiecutter"
17+
"_template": "https://github.com/vshn/appcat-cookiecutter",
18+
"_commit": "8f29fab7ec7458dacdc42e208806c5669162d87f"
1719
}
1820
},
1921
"directory": null

.github/changelog-configuration.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,8 @@
3232
]
3333
}
3434
],
35-
"template": "${{CATEGORIZED_COUNT}} changes since ${{FROM_TAG}}\n\n${{CHANGELOG}}"
35+
"template": "${{CATEGORIZED_COUNT}} changes since ${{FROM_TAG}}\n\n${{CHANGELOG}}",
36+
"ignore_labels": [
37+
"ignoreChangelog"
38+
]
3639
}

.github/workflows/check.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Check
2+
3+
on:
4+
schedule:
5+
- cron: '0 7 * * *' # Every day at 07:00 UTC
6+
workflow_dispatch:
7+
8+
jobs:
9+
check-develop-ahead:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout full history
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Check if develop contains all commits from master
18+
run: |
19+
if [ -n "$(git rev-list origin/master ^origin/develop)" ]; then
20+
echo "❌ develop is missing commits from master:"
21+
git log origin/develop..origin/master --oneline
22+
exit 1
23+
else
24+
echo "✅ develop includes all commits from master"
25+
fi
26+
27+
- name: Notify Rocket.Chat if develop is behind
28+
if: failure()
29+
run: |
30+
curl -X POST "$ROCKETCHAT_WEBHOOK_URL" \
31+
-H 'Content-Type: application/json' \
32+
-d "{
33+
\"text\": \"🚨 *develop is behind master* in \`${{ github.repository }}\`\n🔁 Please merge \`master\` into \`develop\` to stay in sync.\",
34+
\"attachments\": [{
35+
\"title\": \"GitHub Workflow: ${{ github.workflow }}\",
36+
\"title_link\": \"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\",
37+
\"text\": \"Triggered by: ${{ github.actor }}\",
38+
\"color\": \"#ff0000\"
39+
}]
40+
}"
41+
env:
42+
ROCKETCHAT_WEBHOOK_URL: ${{ secrets.ROCKETCHAT_WEBHOOK_URL }}
43+

0 commit comments

Comments
 (0)