@@ -924,55 +924,3 @@ jobs:
924
924
continue-on-error : true
925
925
run : |
926
926
make sqlc-push
927
-
928
- update-calendar :
929
- name : " Update release calendar in docs"
930
- runs-on : " ubuntu-latest"
931
- needs : [release, publish-homebrew, publish-winget, publish-sqlc]
932
- if : ${{ !inputs.dry_run }}
933
- permissions :
934
- contents : write
935
- pull-requests : write
936
- steps :
937
- - name : Harden Runner
938
- uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
939
- with :
940
- egress-policy : audit
941
-
942
- - name : Checkout repository
943
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
944
- with :
945
- fetch-depth : 0 # Needed to get all tags for version calculation
946
-
947
- - name : Set up Git
948
- run : |
949
- git config user.name "Coder CI"
950
- git config user.email "cdrci@coder.com"
951
-
952
- - name : Run update script
953
- run : |
954
- ./scripts/update-release-calendar.sh
955
- make fmt/markdown
956
-
957
- - name : Check for changes
958
- id : check_changes
959
- run : |
960
- if git diff --quiet docs/install/releases/index.md; then
961
- echo "No changes detected in release calendar."
962
- echo "changes=false" >> $GITHUB_OUTPUT
963
- else
964
- echo "Changes detected in release calendar."
965
- echo "changes=true" >> $GITHUB_OUTPUT
966
- fi
967
-
968
- - name : Create Pull Request
969
- if : steps.check_changes.outputs.changes == 'true'
970
- uses : peter-evans/create-pull-request@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0
971
- with :
972
- commit-message : " docs: update release calendar"
973
- title : " docs: update release calendar"
974
- body : |
975
- This PR automatically updates the release calendar in the docs.
976
- branch : bot/update-release-calendar
977
- delete-branch : true
978
- labels : docs
0 commit comments