From 2d3fff7f59086fefe8cb12e1563384964cb3fc7b Mon Sep 17 00:00:00 2001 From: Lucas Manuel Rodriguez Date: Tue, 19 Jul 2022 08:00:27 -0300 Subject: [PATCH] Do not use deprecated macos-10.15 runner (#6724) --- .github/workflows/fleetctl-preview.yml | 2 +- .github/workflows/goreleaser-snapshot-fleet.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fleetctl-preview.yml b/.github/workflows/fleetctl-preview.yml index b6a5676c8c..0a01582d6d 100644 --- a/.github/workflows/fleetctl-preview.yml +++ b/.github/workflows/fleetctl-preview.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: # Doesn't work on Windows because Linux Docker containers are not supported. - os: [ubuntu-20.04, ubuntu-18.04, macos-10.15, macos-11] + os: [ubuntu-20.04, ubuntu-18.04, macos-11, macos-12] runs-on: ${{ matrix.os }} steps: - name: Install Docker diff --git a/.github/workflows/goreleaser-snapshot-fleet.yaml b/.github/workflows/goreleaser-snapshot-fleet.yaml index 1e04447931..7527d085ca 100644 --- a/.github/workflows/goreleaser-snapshot-fleet.yaml +++ b/.github/workflows/goreleaser-snapshot-fleet.yaml @@ -9,7 +9,9 @@ jobs: publish: # Only run it when the push is to the fleetdm/fleet repo. Otherwise the secrets for pushing to # Docker will not be available. - if: github.repository_owner == 'fleetdm' + # + # Also not run if author is dependabot (it doesn't have access to Github secrets). + if: ${{ (github.repository == 'fleetdm/fleet') && (github.actor != 'dependabot[bot]') }} runs-on: ubuntu-latest environment: Docker Hub steps: