diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..709091a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# The workflows' actions are pinned to a commit. Once a month Dependabot +# moves the pins in one grouped pull request and keeps the version comment +# beside each. Package security updates come from the organization's +# Dependabot settings. +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: { interval: monthly } + open-pull-requests-limit: 1 + groups: + actions: { patterns: ["*"] } diff --git a/.github/workflows/asset-store.yml b/.github/workflows/asset-store.yml index 6c5d812..6870fa7 100644 --- a/.github/workflows/asset-store.yml +++ b/.github/workflows/asset-store.yml @@ -15,13 +15,13 @@ jobs: unitypackage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 - name: Build the .unitypackage run: echo "PACKAGE_FILE=$(python3 'AssetStore~/build.py')" >> "$GITHUB_ENV" - name: Keep the package - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 with: name: unitypackage path: ${{ env.PACKAGE_FILE }} @@ -29,6 +29,6 @@ jobs: - name: Attach to the release if: startsWith(github.ref, 'refs/tags/v') - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # v2 with: files: ${{ env.PACKAGE_FILE }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 411b925..ca6a98b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,8 @@ jobs: csharp: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-dotnet@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4 with: dotnet-version: 8.0.x - name: Protocol and room tests @@ -32,8 +32,8 @@ jobs: run: working-directory: Tests~/webgl steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: 22 - run: npm ci