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 e7b3062 commit 1033079Copy full SHA for 1033079
.github/workflows/ci.yml
@@ -91,9 +91,9 @@ jobs:
91
env:
92
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93
run: |
94
- # If this is not the first of the month, stop here.
95
- if [[ $(date -u +%d) != "01" ]]; then
96
- echo "It's not the first of a month, so there will be no PR."
+ # If the `rust-version` file already has the right month, stop here
+ if grep -q "nightly-$(date -u +%Y-%m)" rust-version; then
+ echo "`rust-version` is already reasonably up-to-date, so there will be no PR."
97
exit 0
98
fi
99
# Create commit
0 commit comments