Selaa lähdekoodia

Update `actions/checkout` version in `update-main-version.yml` (#1650)

John Wesley Walker III 1 vuosi sitten
vanhempi
sitoutus
8410ad0602
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4 1
      .github/workflows/update-main-version.yml

+ 4 - 1
.github/workflows/update-main-version.yml

@@ -19,7 +19,10 @@ jobs:
   tag:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v3
+    # Note this update workflow can also be used as a rollback tool.
+    # For that reason, it's best to pin `actions/checkout` to a known, stable version
+    # (typically, about two releases back).
+    - uses: actions/checkout@v4.1.1
       with:
         fetch-depth: 0
     - name: Git config