diff --git a/.github/workflows/authors.yml b/.github/workflows/authors.yml index 6a07610d55d2..15ca6fa99aa9 100644 --- a/.github/workflows/authors.yml +++ b/.github/workflows/authors.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout PR code - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 diff --git a/.github/workflows/build-centos-7.yml b/.github/workflows/build-centos-7.yml index 49744252de25..f877c201f23d 100644 --- a/.github/workflows/build-centos-7.yml +++ b/.github/workflows/build-centos-7.yml @@ -144,7 +144,7 @@ jobs: # Now checkout Suricata for the bundle script. - name: Checking out Suricata - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: ./scripts/bundle.sh diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 9aec8ff51bb8..62e001cb6664 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -105,7 +105,7 @@ jobs: # Now checkout Suricata for the bundle script. - name: Checking out Suricata - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - name: Fetching libhtp @@ -248,7 +248,7 @@ jobs: texlive-capt-of \ texlive-needspace - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata # Download and extract dependency archives created during prep @@ -391,7 +391,7 @@ jobs: - run: rustup component add rustfmt - run: rustup component add clippy - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata # Download and extract dependency archives created during prep @@ -480,7 +480,7 @@ jobs: which \ zlib-devel - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata # Prebuild check for duplicate SIDs @@ -769,7 +769,7 @@ jobs: - name: Install Rust run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -865,7 +865,7 @@ jobs: sudo \ which \ zlib-devel - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -959,7 +959,7 @@ jobs: sudo \ which \ zlib-devel - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -1059,7 +1059,7 @@ jobs: sudo \ which \ zlib-devel - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -1150,7 +1150,7 @@ jobs: sudo \ which \ zlib-devel - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -1236,7 +1236,7 @@ jobs: which \ zlib-devel - run: adduser suricata - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -1329,7 +1329,7 @@ jobs: sudo \ which \ zlib-devel - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -1402,7 +1402,7 @@ jobs: software-properties-common \ zlib1g \ zlib1g-dev - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -1479,7 +1479,7 @@ jobs: # packaged Rust version is too old for coverage, so get from rustup - name: Install Rust run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -1609,7 +1609,7 @@ jobs: # specific version to match up to the llvm version in ubuntu below - name: Install Rust run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 with: @@ -1725,7 +1725,7 @@ jobs: # specific version to match up to the llvm version in ubuntu below - name: Install Rust run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 with: @@ -1870,7 +1870,7 @@ jobs: time \ wget \ dpdk-dev - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 with: @@ -1959,7 +1959,7 @@ jobs: time \ wget \ dpdk-dev - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 with: @@ -2063,7 +2063,7 @@ jobs: # packaged Rust version is too old for coverage, so get from rustup - name: Install Rust run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -2163,7 +2163,7 @@ jobs: zlib1g-dev \ exuberant-ctags \ dpdk-dev - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -2322,7 +2322,7 @@ jobs: zlib1g \ zlib1g-dev \ exuberant-ctags - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -2409,7 +2409,7 @@ jobs: zlib1g \ zlib1g-dev - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -2490,7 +2490,7 @@ jobs: linux-headers-$(uname -r) - name: Checkout Netmap repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b with: repository: luigirizzo/netmap # gets cloned to $GITHUB_WORKSPACE/netmap/ @@ -2503,7 +2503,7 @@ jobs: make -j ${{ env.CPUS }} sudo make install - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -2608,7 +2608,7 @@ jobs: ninja -C build install ldconfig cd $HOME - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -2698,7 +2698,7 @@ jobs: texlive-latex-extra \ zlib1g \ zlib1g-dev - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -2784,7 +2784,7 @@ jobs: texlive-latex-extra \ zlib1g \ zlib1g-dev - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -2866,7 +2866,7 @@ jobs: texlive-latex-extra \ zlib1g \ zlib1g-dev - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -2956,7 +2956,7 @@ jobs: - name: Install Rust run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION_KNOWN -y - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -3037,7 +3037,7 @@ jobs: - name: Install Rust run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION_KNOWN -y - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -3098,7 +3098,7 @@ jobs: - name: Install cbindgen run: cargo install --debug --version 0.24.3 cbindgen - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - name: Downloading prep archive uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e @@ -3141,7 +3141,7 @@ jobs: # preinstalled one to be picked up by configure - name: cbindgen run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -3197,7 +3197,7 @@ jobs: # preinstalled one to be picked up by configure - name: cbindgen run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: @@ -3241,7 +3241,7 @@ jobs: # preinstalled one to be picked up by configure - name: cbindgen run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e with: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 693cea997298..e9395def28f1 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -37,7 +37,7 @@ jobs: # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml index 036bd3adceb8..47828edd0d7a 100644 --- a/.github/workflows/commits.yml +++ b/.github/workflows/commits.yml @@ -74,7 +74,7 @@ jobs: cd $HOME/.cargo/bin curl -OL https://github.com/eqrion/cbindgen/releases/download/v0.24.3/cbindgen chmod 755 cbindgen - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b with: fetch-depth: 0 # The action above is supposed to do this for us, but it doesn't appear to stick. diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 5adf1dd86f2e..dbd6ffaf237b 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -89,7 +89,7 @@ jobs: # My patience simply ran too short to keep on looking. See follow-on # action to manually fix this up. - name: Checkout - might be merge commit! - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b with: fetch-depth: 0 # Use last commit of branch, not potential merge commit! diff --git a/.github/workflows/rust-checks.yml b/.github/workflows/rust-checks.yml index 5ac2739bf3d7..6c87b4654fc3 100644 --- a/.github/workflows/rust-checks.yml +++ b/.github/workflows/rust-checks.yml @@ -83,7 +83,7 @@ jobs: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Install Cargo Audit run: cargo install cargo-audit - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - name: Configure Suricata run: | ./scripts/bundle.sh libhtp @@ -166,7 +166,7 @@ jobs: run: | curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain ${RUST_VERSION_MIN} -y echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - name: Configure Suricata run: | ./scripts/bundle.sh libhtp diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index eebf43c13eb8..ff71dd8c15dd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -72,7 +72,7 @@ jobs: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Install cbindgen run: cargo install --debug cbindgen - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - run: ./scripts/bundle.sh - run: ./autogen.sh diff --git a/.github/workflows/scan-build.yml b/.github/workflows/scan-build.yml index 6910f508af49..8af03aaa3172 100644 --- a/.github/workflows/scan-build.yml +++ b/.github/workflows/scan-build.yml @@ -68,7 +68,7 @@ jobs: software-properties-common \ zlib1g \ zlib1g-dev - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - run: git config --global --add safe.directory /__w/suricata/suricata - run: ./scripts/bundle.sh - run: ./autogen.sh diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index d8ce92a3d051..31c6f27fa437 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml @@ -25,7 +25,7 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 - name: "Run analysis" uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1