We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 122adba commit 78fec66Copy full SHA for 78fec66
.github/workflows/main.yaml
@@ -57,3 +57,27 @@ jobs:
57
with:
58
name: html-docs
59
path: _build/default/_doc/_html/
60
+
61
+ check-changes:
62
+ runs-on: ubuntu-latest
63
+ if: github.event_name == 'pull_request'
64
+ steps:
65
+ - name: Checkout code
66
+ uses: actions/checkout@v4
67
+ with:
68
+ fetch-depth: 0
69
70
+ - name: Determine if CHANGES changed
71
+ id: changes-changed
72
+ uses: tj-actions/changed-files@v39
73
74
+ files_yaml: |
75
+ changes:
76
+ - 'CHANGES'
77
78
+ - name: Fail if CHANGES did not change
79
+ if: steps.changes-changed.outputs.changes_any_changed == 'false'
80
+ run: |
81
+ echo "No changes made to the CHANGES file."
82
+ echo "Please update the file with your changes."
83
+ exit 1
0 commit comments