From 7891f35394953329801d6a640bc9809ad93320b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Abd=C3=B3n=20Rodr=C3=ADguez=20Davila?=
Date: Fri, 19 Nov 2021 17:53:48 +0000
Subject: [PATCH 1/2] chore(ci): update prevent actions
---
.github/workflows/percy-update-base.yml | 2 +-
.github/workflows/publish.yml | 2 +-
.github/workflows/reviewdog.yml | 2 ++
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/percy-update-base.yml b/.github/workflows/percy-update-base.yml
index 3c3592e46..39f3421e1 100644
--- a/.github/workflows/percy-update-base.yml
+++ b/.github/workflows/percy-update-base.yml
@@ -12,7 +12,7 @@ concurrency:
jobs:
percy:
- # Prevents action from creating a PR on forks
+ # Prevent on forks because they don't have access to the secrets
if: github.repository == 'carbon-design-system/carbon-web-components'
runs-on: ubuntu-latest
strategy:
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 1159c266f..a1ef9f039 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -7,7 +7,7 @@ on:
jobs:
publish:
- # Prevents action from creating a PR on forks
+ # Prevent creating a release on forks
if: github.repository == 'carbon-design-system/carbon-web-components'
runs-on: ubuntu-latest
steps:
diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml
index 860be3766..d7ec258d6 100644
--- a/.github/workflows/reviewdog.yml
+++ b/.github/workflows/reviewdog.yml
@@ -7,6 +7,8 @@ concurrency:
jobs:
eslint:
+ # Prevent on forks because they don't have access to the secrets
+ if: github.repository == 'carbon-design-system/carbon-web-components'
name: runner / eslint
runs-on: ubuntu-latest
steps:
From 2139fee3ab218cf826cf44c61adc6c84526a4288 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Abd=C3=B3n=20Rodr=C3=ADguez=20Davila?=
Date: Fri, 19 Nov 2021 18:10:53 +0000
Subject: [PATCH 2/2] chore(ci): update prevent actions
---
.github/workflows/reviewdog.yml | 2 --
1 file changed, 2 deletions(-)
diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml
index d7ec258d6..860be3766 100644
--- a/.github/workflows/reviewdog.yml
+++ b/.github/workflows/reviewdog.yml
@@ -7,8 +7,6 @@ concurrency:
jobs:
eslint:
- # Prevent on forks because they don't have access to the secrets
- if: github.repository == 'carbon-design-system/carbon-web-components'
name: runner / eslint
runs-on: ubuntu-latest
steps: