aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ubuntu.yml
diff options
context:
space:
mode:
authorStepSecurity Bot <bot@stepsecurity.io>2022-11-25 10:26:10 +0000
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-11-25 20:12:23 +0900
commite15cd01149afe4924460f81cb6e27dd96de06657 (patch)
treed95d0bc97f0ec1300a85892b5a01d29a66b2673f /.github/workflows/ubuntu.yml
parent8a50db7dfa9383326854ddfa47c7003722567d61 (diff)
downloadruby-e15cd01149afe4924460f81cb6e27dd96de06657.tar.gz
[StepSecurity] ci: Harden GitHub Actions
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
Diffstat (limited to '.github/workflows/ubuntu.yml')
-rw-r--r--.github/workflows/ubuntu.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 508d2c7733..0e3580bebf 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -72,10 +72,10 @@ jobs:
run: |
git config --global advice.detachedHead 0
git config --global init.defaultBranch garbage
- - uses: actions/checkout@v3
+ - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
path: src
- - uses: actions/cache@v3
+ - uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
with:
path: src/.downloaded-cache
key: downloaded-cache
@@ -120,7 +120,7 @@ jobs:
TESTS: ${{ matrix.skipped_tests }}
if: ${{ matrix.test_task == 'check' && matrix.skipped_tests != '' }}
continue-on-error: ${{ matrix.continue-on-skipped_tests || false }}
- - uses: ruby/action-slack@v3.0.0
+ - uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0
with:
payload: |
{