From dbc50c3d719d01758dec7466012cefc14c89e926 Mon Sep 17 00:00:00 2001 From: jellizaveta <91964807+jellizaveta@users.noreply.github.com> Date: Fri, 23 Jun 2023 15:23:55 +0300 Subject: [PATCH] Fix #154379 update workflows (#154424) --- .github/workflows/assign-on-label.yml | 1 + .github/workflows/change-on-reopen.yml | 1 + .github/workflows/rm-labels-on-closed.yml | 1 + .github/workflows/stale_issues_gh.yml | 5 +++-- .github/workflows/stale_issues_high.yml | 5 +++-- .github/workflows/stale_issues_low.yml | 5 +++-- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/assign-on-label.yml b/.github/workflows/assign-on-label.yml index d978fcc7275..2ca18a8bddf 100644 --- a/.github/workflows/assign-on-label.yml +++ b/.github/workflows/assign-on-label.yml @@ -6,6 +6,7 @@ on: jobs: assign: + if: github.repository == 'AdguardTeam/AdguardFilters' runs-on: ubuntu-latest steps: - uses: actions/github-script@v6 diff --git a/.github/workflows/change-on-reopen.yml b/.github/workflows/change-on-reopen.yml index 905c5297c39..e4e1e0d0664 100644 --- a/.github/workflows/change-on-reopen.yml +++ b/.github/workflows/change-on-reopen.yml @@ -6,6 +6,7 @@ on: jobs: remove_labels_assignees: + if: github.repository == 'AdguardTeam/AdguardFilters' runs-on: ubuntu-latest steps: - uses: actions/github-script@v6 diff --git a/.github/workflows/rm-labels-on-closed.yml b/.github/workflows/rm-labels-on-closed.yml index f25e461b6b5..57164aa783f 100644 --- a/.github/workflows/rm-labels-on-closed.yml +++ b/.github/workflows/rm-labels-on-closed.yml @@ -6,6 +6,7 @@ on: jobs: remove_label: + if: github.repository == 'AdguardTeam/AdguardFilters' runs-on: ubuntu-latest steps: - uses: actions/github-script@v6 diff --git a/.github/workflows/stale_issues_gh.yml b/.github/workflows/stale_issues_gh.yml index 4b1c143f77d..80fdc5ee94e 100644 --- a/.github/workflows/stale_issues_gh.yml +++ b/.github/workflows/stale_issues_gh.yml @@ -7,15 +7,16 @@ on: jobs: stale: + if: github.repository == 'AdguardTeam/AdguardFilters' runs-on: ubuntu-latest steps: - uses: actions/stale@v7 with: stale-issue-message: > This issue has been automatically marked as stale because it has been open for 4 days with no activity. - + Unfortunately, our resources are limited and we can not always take the time to respond to requests about websites that are not popular enough. The issue will be closed if no further activity occurs. - + Please note, that AdGuard Filters is an open-source project that is used by different content blockers and we welcome contributions. If you have some technical knowledge about how websites work, you are welcome to create a pull request following [these instructions](https://github.com/AdguardTeam/AdguardFilters/blob/master/CONTRIBUTING.md). stale-issue-label: 'Stale' exempt-issue-labels: 'A: By design,A: In progress,A: Problematic' diff --git a/.github/workflows/stale_issues_high.yml b/.github/workflows/stale_issues_high.yml index 7d2d3cb8e7c..ef8380fe1d2 100644 --- a/.github/workflows/stale_issues_high.yml +++ b/.github/workflows/stale_issues_high.yml @@ -7,15 +7,16 @@ on: jobs: stale: + if: github.repository == 'AdguardTeam/AdguardFilters' runs-on: ubuntu-latest steps: - uses: actions/stale@v7 with: stale-issue-message: > This issue has been automatically marked as stale because it has been open for 10 days with no activity. - + Unfortunately, our resources are limited and we can not always take the time to respond to requests about websites that are not popular enough. The issue will be closed if no further activity occurs. - + Please note, that AdGuard Filters is an open-source project that is used by different content blockers and we welcome contributions. If you have some technical knowledge about how websites work, you are welcome to create a pull request following [these instructions](https://github.com/AdguardTeam/AdguardFilters/blob/master/CONTRIBUTING.md). stale-issue-label: 'Stale' exempt-issue-labels: 'A: By design,A: In progress,A: Problematic' diff --git a/.github/workflows/stale_issues_low.yml b/.github/workflows/stale_issues_low.yml index 85c5d73fa33..b20a5acd5fd 100644 --- a/.github/workflows/stale_issues_low.yml +++ b/.github/workflows/stale_issues_low.yml @@ -7,15 +7,16 @@ on: jobs: stale: + if: github.repository == 'AdguardTeam/AdguardFilters' runs-on: ubuntu-latest steps: - uses: actions/stale@v7 with: stale-issue-message: > This issue has been automatically marked as stale because it has been open for 4 days with no activity. - + Unfortunately, our resources are limited and we can not always take the time to respond to requests about websites that are not popular enough. The issue will be closed if no further activity occurs. - + Please note, that AdGuard Filters is an open-source project that is used by different content blockers and we welcome contributions. If you have some technical knowledge about how websites work, you are welcome to create a pull request following [these instructions](https://github.com/AdguardTeam/AdguardFilters/blob/master/CONTRIBUTING.md). stale-issue-label: 'Stale' exempt-issue-labels: 'A: By design,A: In progress,A: Problematic'