From 2586c55269ae859de3b03bdfee35809c645c3c4f Mon Sep 17 00:00:00 2001 From: igorbaptist4 Date: Wed, 28 Aug 2024 17:12:12 -0300 Subject: [PATCH] env: altera job runner para self-hosted acervos e comenta agendamento de testes aos domingos --- .github/workflows/build.yml | 4 ++-- .github/workflows/codescan.yml | 6 +++--- .github/workflows/issue_opened.yml | 2 +- .github/workflows/label_merge_conflicts.yml | 2 +- .github/workflows/port_merged_pull_request.yml | 2 +- .github/workflows/pull_request_opened.yml | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f2a84ce8a6..bdd1583ac1e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ permissions: jobs: tests: - runs-on: ubuntu-latest + runs-on: [self-hosted, acervos] env: # The ci step will test the dspace-angular code against DSpace REST. # Direct that step to utilize a DSpace REST service that has been started in docker. @@ -196,7 +196,7 @@ jobs: codecov: # Must run after 'tests' job above needs: tests - runs-on: ubuntu-latest + runs-on: [self-hosted, acervos] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/codescan.yml b/.github/workflows/codescan.yml index d96e786cc37..dc0beef8ca7 100644 --- a/.github/workflows/codescan.yml +++ b/.github/workflows/codescan.yml @@ -19,13 +19,13 @@ on: paths-ignore: - '**/*.md' - '**/*.txt' - schedule: - - cron: "37 0 * * 1" + #schedule: + #- cron: "37 0 * * 1" jobs: analyze: name: Analyze Code - runs-on: ubuntu-latest + runs-on: [self-hosted, acervos] # Limit permissions of this GitHub action. Can only write to security-events permissions: actions: read diff --git a/.github/workflows/issue_opened.yml b/.github/workflows/issue_opened.yml index 0a35a6a9504..12150d74add 100644 --- a/.github/workflows/issue_opened.yml +++ b/.github/workflows/issue_opened.yml @@ -8,7 +8,7 @@ on: permissions: {} jobs: automation: - runs-on: ubuntu-latest + runs-on: [self-hosted, acervos] steps: # Add the new issue to a project board, if it needs triage # See https://github.com/actions/add-to-project diff --git a/.github/workflows/label_merge_conflicts.yml b/.github/workflows/label_merge_conflicts.yml index ccc6c401c0b..eb3e6a6f66c 100644 --- a/.github/workflows/label_merge_conflicts.yml +++ b/.github/workflows/label_merge_conflicts.yml @@ -18,7 +18,7 @@ jobs: triage: # Ensure this job never runs on forked repos. It's only executed for 'dspace/dspace-angular' if: github.repository == 'dspace/dspace-angular' - runs-on: ubuntu-latest + runs-on: [self-hosted, acervos] permissions: pull-requests: write steps: diff --git a/.github/workflows/port_merged_pull_request.yml b/.github/workflows/port_merged_pull_request.yml index 857f22755e4..61ed34f9dee 100644 --- a/.github/workflows/port_merged_pull_request.yml +++ b/.github/workflows/port_merged_pull_request.yml @@ -18,7 +18,7 @@ permissions: jobs: port_pr: - runs-on: ubuntu-latest + runs-on: [self-hosted, acervos] # Don't run on closed *unmerged* pull requests if: github.event.pull_request.merged steps: diff --git a/.github/workflows/pull_request_opened.yml b/.github/workflows/pull_request_opened.yml index bbac52af243..0f57cb20866 100644 --- a/.github/workflows/pull_request_opened.yml +++ b/.github/workflows/pull_request_opened.yml @@ -16,7 +16,7 @@ permissions: jobs: automation: - runs-on: ubuntu-latest + runs-on: [self-hosted, acervos] steps: # Assign the PR to whomever created it. This is useful for visualizing assignments on project boards # See https://github.com/toshimaru/auto-author-assign