This is an automated email from the ASF dual-hosted git repository. adoroszlai pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ozone-thirdparty.git
commit c6390b121a3aebc0326749849170e4035d2843a6 Author: Doroszlai, Attila <[email protected]> AuthorDate: Fri Oct 30 19:44:29 2026 +0100 HDDS-14920. Check actions with zizmor --- .github/workflows/zizmor.yaml | 50 +++++++++++++++++++++++++++++++++++++++++++ .github/zizmor.yaml | 21 ++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/.github/workflows/zizmor.yaml b/.github/workflows/zizmor.yaml new file mode 100644 index 0000000..a5b6d0f --- /dev/null +++ b/.github/workflows/zizmor.yaml @@ -0,0 +1,50 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: zizmor + +on: + pull_request: + paths: + - '.github/workflows/**' + - '.github/zizmor.y*ml' + push: + branches-ignore: + - 'dependabot/**' + paths: + - '.github/workflows/**' + - '.github/zizmor.y*ml' + +permissions: { } + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || case(github.repository_owner == 'apache', github.sha, github.ref_name) }} + cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository_owner != 'apache' }} + +jobs: + zizmor: + runs-on: ubuntu-24.04 + permissions: + security-events: write + steps: + - name: Checkout project + uses: actions/checkout@v7 + with: + persist-credentials: false + + - name: Run zizmor + uses: zizmorcore/zizmor-action@53290badfa369cb0bf7ad16342cb62c2fa47ac7b # v0.8.0 + with: + advanced-security: ${{ github.repository_owner == 'apache' && github.event_name == 'push' }} diff --git a/.github/zizmor.yaml b/.github/zizmor.yaml new file mode 100644 index 0000000..b502f74 --- /dev/null +++ b/.github/zizmor.yaml @@ -0,0 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +rules: + unpinned-uses: + config: + policies: + actions/*: ref-pin + apache/*: ref-pin --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
