Skip to content

Commit 53948bd

Browse files
committed
Add workflow to stop this from happening again
1 parent 6a88348 commit 53948bd

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/resolve_manifest.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# This action periodically runs Pkg.instantiate() and Pkg.resolve() on the
2-
# top-level environment. If this leads to a change in the Manifest.toml file,
3-
# it will open a PR to update the Manifest.toml file. This ensures that the
4-
# version of the Manifest in the repository is consistent with the version of the
5-
# Manifest used by the CI system (i.e. during the actual docs generation).
1+
# This action runs Pkg.instantiate() and Pkg.resolve() every time the master
2+
# branch is pushed to. If this leads to a change in the Manifest.toml file, it
3+
# will open a PR to update the Manifest.toml file. This ensures that the
4+
# contents of the Manifest in the repository are consistent with the contents
5+
# of the Manifest used by the CI system (i.e. during the actual docs
6+
# generation).
67
#
78
# See https://github.com/TuringLang/docs/issues/518 for motivation.
89

@@ -36,11 +37,12 @@ jobs:
3637
run: |
3738
julia -e 'using Pkg; Pkg.instantiate(); Pkg.resolve()'
3839
39-
- name: Create a PR with suggested changes
40+
- name: Open PR
4041
id: create_pr
4142
uses: peter-evans/create-pull-request@v6
4243
with:
4344
branch: resolve-manifest
45+
add-paths: Manifest.toml
4446
commit-message: "Update Manifest.toml"
4547
body: "This PR is automatically generated by the `resolve_manifest.yml` GitHub Action."
4648
title: "Update Manifest.toml to match CI environment"

0 commit comments

Comments
 (0)