Skip to content

🌱 Bump tj-actions/changed-files from 37.0.4 to 37.0.5 (#3239) #18

🌱 Bump tj-actions/changed-files from 37.0.4 to 37.0.5 (#3239)

🌱 Bump tj-actions/changed-files from 37.0.4 to 37.0.5 (#3239) #18

Workflow file for this run

# Copyright 2023 OpenSSF Scorecard Authors
#
# Licensed 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: gitlab-tests
permissions: read-all
on:
push:
branches:
- main
jobs:
gitlab-integration-trusted:
runs-on: ubuntu-latest
environment: gitlab
steps:
- name: Harden Runner
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Clone the code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- name: setup-go
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v2.2.0
with:
go-version: '1.19'
check-latest: true
- name: Prepare test env
run: |
go mod download
- name: Run GitLab PAT E2E # skip if auth token is not available
uses: nick-invision/retry@943e742917ac94714d2f408a0e8320f2d1fcafcd
if: ${{ github.actor != 'dependabot[bot]' }}
env:
GITLAB_AUTH_TOKEN: ${{ secrets.GITLAB_TOKEN }}
with:
max_attempts: 3
retry_on: error
timeout_minutes: 30
command: make e2e-gitlab-token
- name: codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # 2.1.0
with:
files: ./e2e-coverage.out
verbose: true