Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"template": "https://github.com/vshn/appcat-cookiecutter",
"commit": "128d270ba199a581122ff74c2f82b8e3019490f0",
"commit": "69411951bb5ca1ff063313896b252d274ec50c16",
"checkout": null,
"context": {
"cookiecutter": {
"app_name": "provider-exoscale",
"appcat_repo": "vshn/appcat",
"component_repo": "vshn/component-appcat",
"push_upbound": true,
"push_package": true,
Expand All @@ -13,7 +14,8 @@
".github/workflows/cruft-update.yml",
".github/changelog-configuration.json"
],
"_template": "https://github.com/vshn/appcat-cookiecutter"
"_template": "https://github.com/vshn/appcat-cookiecutter",
"_commit": "69411951bb5ca1ff063313896b252d274ec50c16"
}
},
"directory": null
Expand Down
5 changes: 4 additions & 1 deletion .github/changelog-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@
]
}
],
"template": "${{CATEGORIZED_COUNT}} changes since ${{FROM_TAG}}\n\n${{CHANGELOG}}"
"template": "${{CATEGORIZED_COUNT}} changes since ${{FROM_TAG}}\n\n${{CHANGELOG}}",
"ignore_labels": [
"ignoreChangelog"
]
}
43 changes: 43 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Check

on:
schedule:
- cron: '0 7 * * *' # Every day at 07:00 UTC
workflow_dispatch:

jobs:
check-develop-ahead:
runs-on: ubuntu-latest
steps:
- name: Checkout full history
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Check if develop contains all commits from master
run: |
if [ -n "$(git rev-list origin/master ^origin/develop)" ]; then
echo "❌ develop is missing commits from master:"
git log origin/develop..origin/master --oneline
exit 1
else
echo "✅ develop includes all commits from master"
fi

- name: Notify Rocket.Chat if develop is behind
if: failure()
run: |
curl -X POST "$ROCKETCHAT_WEBHOOK_URL" \
-H 'Content-Type: application/json' \
-d "{
\"text\": \"🚨 *develop is behind master* in \`${{ github.repository }}\`\n🔁 Please merge \`master\` into \`develop\` to stay in sync.\",
\"attachments\": [{
\"title\": \"GitHub Workflow: ${{ github.workflow }}\",
\"title_link\": \"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\",
\"text\": \"Triggered by: ${{ github.actor }}\",
\"color\": \"#ff0000\"
}]
}"
env:
ROCKETCHAT_WEBHOOK_URL: ${{ secrets.ROCKETCHAT_WEBHOOK_URL }}

Loading
Loading