Skip to content

chore: signal reviewer of migrations happening#994

Draft
lusergit wants to merge 1 commit intoedgehog-device-manager:mainfrom
lusergit:push-tvsxwnulrllr
Draft

chore: signal reviewer of migrations happening#994
lusergit wants to merge 1 commit intoedgehog-device-manager:mainfrom
lusergit:push-tvsxwnulrllr

Conversation

@lusergit
Copy link
Copy Markdown
Collaborator

In an effort to avoid making mistakes when merging a new action in the CI checks if some changes are made to migrations, signaling the reviewer (and the merger) to pay attention to them.

@lusergit lusergit force-pushed the push-tvsxwnulrllr branch 3 times, most recently from 6caad7f to 8dd2ea5 Compare October 17, 2025 10:15
@lusergit lusergit marked this pull request as draft October 17, 2025 10:31
@lusergit lusergit force-pushed the push-tvsxwnulrllr branch 7 times, most recently from e88f72b to 6628db5 Compare October 27, 2025 16:22
@lusergit lusergit force-pushed the push-tvsxwnulrllr branch 6 times, most recently from e9161dd to 7544fe4 Compare October 29, 2025 11:04
Comment thread .github/workflows/migrations-check.yaml Outdated
Comment thread .github/workflows/migrations-check.yaml Outdated
@lusergit lusergit force-pushed the push-tvsxwnulrllr branch 7 times, most recently from 625b953 to 2335d6d Compare November 4, 2025 08:09
@lusergit lusergit force-pushed the push-tvsxwnulrllr branch 3 times, most recently from 7ee1b99 to 4db3c83 Compare November 13, 2025 08:24
@lusergit lusergit force-pushed the push-tvsxwnulrllr branch 13 times, most recently from eac6bae to 64a6d2d Compare December 5, 2025 14:59
@lusergit lusergit force-pushed the push-tvsxwnulrllr branch 13 times, most recently from 03e83e4 to 90021a0 Compare December 15, 2025 10:00
Comment thread .github/workflows/migrations-check.yaml Outdated
Comment thread .github/workflows/migrations-check.yaml
Comment on lines +38 to +39
- name: Make license script executable
run: chmod +x ./tools/check-migration-timestamps.sh
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s no need to run this step every time. You can make the script executable once with chmod +x ./tools/check-migration-timestamps.sh and commit the change. Git will track the executable permission, so it will be preserved for everyone who pulls the repository.

Suggested change
- name: Make license script executable
run: chmod +x ./tools/check-migration-timestamps.sh

"${{ github.event.pull_request.base.sha }}" \
"${{ github.event.pull_request.head.sha }}"
- uses: mshick/add-pr-comment@v2
if: ${{ steps.check-migrations.conclustion == 'failure'}}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if: ${{ steps.check-migrations.conclustion == 'failure'}}
if: ${{ steps.check-migrations.outcome == 'failure'}}

jobs:
comment:
runs-on: ubuntu-latest
secrets: inherit
Copy link
Copy Markdown
Collaborator

@OmarBrbutovic OmarBrbutovic Mar 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not exist, so the CI didnt even run

Suggested change
secrets: inherit

When a new PR that touches migrations is made, an action is triggered to
signal the reviewer: PRs that handle migrations should be merged
carefully, as they need to run accordingly to the state of the repo.

Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants