From 3ac6c3178ecb7e3f816e46a503ed050265158050 Mon Sep 17 00:00:00 2001 From: Marc Riera Casals Date: Fri, 10 Apr 2020 11:36:01 +0200 Subject: [PATCH] Fix what ref to checkout from --- .github/workflows/ci_accountability.yml | 1 + .github/workflows/ci_admin.yml | 1 + .github/workflows/ci_api.yml | 1 + .github/workflows/ci_assemblies.yml | 1 + .github/workflows/ci_blogs.yml | 1 + .github/workflows/ci_budgets.yml | 1 + .github/workflows/ci_comments.yml | 1 + .github/workflows/ci_conferences.yml | 1 + .github/workflows/ci_consultations.yml | 1 + .github/workflows/ci_core.yml | 1 + .github/workflows/ci_debates.yml | 1 + .github/workflows/ci_forms.yml | 1 + .github/workflows/ci_generators.yml | 1 + .github/workflows/ci_initiatives.yml | 1 + .github/workflows/ci_main.yml | 1 + .github/workflows/ci_meetings.yml | 1 + .github/workflows/ci_pages.yml | 1 + .github/workflows/ci_participatory_processes.yml | 1 + .github/workflows/ci_proposals_system_admin.yml | 1 + .github/workflows/ci_proposals_system_public.yml | 1 + .github/workflows/ci_proposals_unit_tests.yml | 1 + .github/workflows/ci_sortitions.yml | 1 + .github/workflows/ci_surveys.yml | 1 + .github/workflows/ci_system.yml | 1 + .github/workflows/ci_verifications.yml | 1 + .github/workflows/lint_code.yml | 1 + 26 files changed, 26 insertions(+) diff --git a/.github/workflows/ci_accountability.yml b/.github/workflows/ci_accountability.yml index 855686028d15..f166dd7fdfa5 100644 --- a/.github/workflows/ci_accountability.yml +++ b/.github/workflows/ci_accountability.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_admin.yml b/.github/workflows/ci_admin.yml index f8dd9a974e20..dd2bfc5ed579 100644 --- a/.github/workflows/ci_admin.yml +++ b/.github/workflows/ci_admin.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_api.yml b/.github/workflows/ci_api.yml index 781e11536641..d68576b8628c 100644 --- a/.github/workflows/ci_api.yml +++ b/.github/workflows/ci_api.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_assemblies.yml b/.github/workflows/ci_assemblies.yml index 785f35a28f26..c6446f3766aa 100644 --- a/.github/workflows/ci_assemblies.yml +++ b/.github/workflows/ci_assemblies.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_blogs.yml b/.github/workflows/ci_blogs.yml index f22f14909b98..47ce46c638a6 100644 --- a/.github/workflows/ci_blogs.yml +++ b/.github/workflows/ci_blogs.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_budgets.yml b/.github/workflows/ci_budgets.yml index 4403558d72da..03a939073b43 100644 --- a/.github/workflows/ci_budgets.yml +++ b/.github/workflows/ci_budgets.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_comments.yml b/.github/workflows/ci_comments.yml index 29b442468315..855cb85f96ff 100644 --- a/.github/workflows/ci_comments.yml +++ b/.github/workflows/ci_comments.yml @@ -45,6 +45,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_conferences.yml b/.github/workflows/ci_conferences.yml index d4093b76aefd..4721c3fa61bc 100644 --- a/.github/workflows/ci_conferences.yml +++ b/.github/workflows/ci_conferences.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_consultations.yml b/.github/workflows/ci_consultations.yml index 4a5230c41908..15502d08a5d7 100644 --- a/.github/workflows/ci_consultations.yml +++ b/.github/workflows/ci_consultations.yml @@ -47,6 +47,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_core.yml b/.github/workflows/ci_core.yml index f7060a4763f6..fd25b646421e 100644 --- a/.github/workflows/ci_core.yml +++ b/.github/workflows/ci_core.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_debates.yml b/.github/workflows/ci_debates.yml index 652b97a40ccc..8e7a0a324cd5 100644 --- a/.github/workflows/ci_debates.yml +++ b/.github/workflows/ci_debates.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_forms.yml b/.github/workflows/ci_forms.yml index b296d8c86099..3018a2a17a16 100644 --- a/.github/workflows/ci_forms.yml +++ b/.github/workflows/ci_forms.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_generators.yml b/.github/workflows/ci_generators.yml index bdb548a7dce5..510aa5152561 100644 --- a/.github/workflows/ci_generators.yml +++ b/.github/workflows/ci_generators.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_initiatives.yml b/.github/workflows/ci_initiatives.yml index 7e4e507e9481..e7db6d8962d5 100644 --- a/.github/workflows/ci_initiatives.yml +++ b/.github/workflows/ci_initiatives.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_main.yml b/.github/workflows/ci_main.yml index 152406aadb6e..f8dbe5c07792 100644 --- a/.github/workflows/ci_main.yml +++ b/.github/workflows/ci_main.yml @@ -29,6 +29,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_meetings.yml b/.github/workflows/ci_meetings.yml index 78f0857253a4..c3c16b329024 100644 --- a/.github/workflows/ci_meetings.yml +++ b/.github/workflows/ci_meetings.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_pages.yml b/.github/workflows/ci_pages.yml index 63bd45b7ef20..6831f92354db 100644 --- a/.github/workflows/ci_pages.yml +++ b/.github/workflows/ci_pages.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_participatory_processes.yml b/.github/workflows/ci_participatory_processes.yml index 697109dd179f..0af427a565c8 100644 --- a/.github/workflows/ci_participatory_processes.yml +++ b/.github/workflows/ci_participatory_processes.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_proposals_system_admin.yml b/.github/workflows/ci_proposals_system_admin.yml index 9cac72b7c1cb..e93b7f86b50f 100644 --- a/.github/workflows/ci_proposals_system_admin.yml +++ b/.github/workflows/ci_proposals_system_admin.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_proposals_system_public.yml b/.github/workflows/ci_proposals_system_public.yml index affaa1a370ff..2c65d8b146c6 100644 --- a/.github/workflows/ci_proposals_system_public.yml +++ b/.github/workflows/ci_proposals_system_public.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_proposals_unit_tests.yml b/.github/workflows/ci_proposals_unit_tests.yml index 569318fb0362..dc16388eb9fd 100644 --- a/.github/workflows/ci_proposals_unit_tests.yml +++ b/.github/workflows/ci_proposals_unit_tests.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_sortitions.yml b/.github/workflows/ci_sortitions.yml index 06540b0dd4e3..f58effde20cf 100644 --- a/.github/workflows/ci_sortitions.yml +++ b/.github/workflows/ci_sortitions.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_surveys.yml b/.github/workflows/ci_surveys.yml index ecd9fd6b8df2..80da6327431c 100644 --- a/.github/workflows/ci_surveys.yml +++ b/.github/workflows/ci_surveys.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_system.yml b/.github/workflows/ci_system.yml index 1feb154a53ab..b67e15aaf856 100644 --- a/.github/workflows/ci_system.yml +++ b/.github/workflows/ci_system.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/ci_verifications.yml b/.github/workflows/ci_verifications.yml index 8edef2c2c084..1dbbe4809014 100644 --- a/.github/workflows/ci_verifications.yml +++ b/.github/workflows/ci_verifications.yml @@ -44,6 +44,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/.github/workflows/lint_code.yml b/.github/workflows/lint_code.yml index 5c3aea750ce7..cd6ff78560d3 100644 --- a/.github/workflows/lint_code.yml +++ b/.github/workflows/lint_code.yml @@ -29,6 +29,7 @@ jobs: - uses: actions/checkout@v2.0.0 with: fetch-depth: 1 + ref: ${{ github.event.pull_request.head.ref || github.ref }} - uses: ruby/setup-ruby@master with: ruby-version: ${{ env.RUBY_VERSION }}