A platform for community discussion. Free, open, simple.
DEV: Minor workflow updates (#16583)
Jarek Radoszde19003bad3d
diff --git a/.github/workflows/ember_with_plugins.yml b/.github/workflows/ember_with_plugins.ymlindex 52b4277415b..56ed498b220 100644--- a/.github/workflows/ember_with_plugins.yml+++ b/.github/workflows/ember_with_plugins.yml@@ -12,7 +12,7 @@ jobs:timeout-minutes: 60steps:- - uses: actions/checkout@master+ - uses: actions/checkout@v3with:fetch-depth: 1diff --git a/.github/workflows/licenses.yml b/.github/workflows/licenses.ymlindex 72abb7b6c9d..19a263f7f72 100644--- a/.github/workflows/licenses.yml+++ b/.github/workflows/licenses.yml@@ -4,18 +4,21 @@ on:pull_request:push:branches:- - master- main+concurrency:+ group: licenses-${{ format('{0}-{1}', github.head_ref || github.run_number, github.job) }}+ cancel-in-progress: true+jobs:build:name: runruns-on: ubuntu-latest- container: discourse/discourse_test:release- timeout-minutes: 30+ container: discourse/discourse_test:slim+ timeout-minutes: 10steps:- - uses: actions/checkout@master+ - uses: actions/checkout@v3with:fetch-depth: 1@@ -25,7 +28,7 @@ jobs:git config --global user.name "Discourse CI"- name: Bundler cache- uses: actions/cache@v2+ uses: actions/cache@v3with:path: vendor/bundlekey: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}@@ -49,7 +52,7 @@ jobs:run: echo "::set-output name=dir::$(yarn cache dir)"- name: Yarn cache- uses: actions/cache@v2+ uses: actions/cache@v3id: yarn-cachewith:path: ${{ steps.yarn-cache-dir.outputs.dir }}@@ -69,5 +72,5 @@ jobs:- name: Check Yarn Licensesif: ${{ always() }}run: |- yarn add licensee- yarn exec licensee -- --errors-only+ yarn global add licensee+ licensee --errors-onlydiff --git a/.github/workflows/linting.yml b/.github/workflows/linting.ymlindex e1187dcffad..97f0236bbb5 100644--- a/.github/workflows/linting.yml+++ b/.github/workflows/linting.yml@@ -18,7 +18,7 @@ jobs:timeout-minutes: 30steps:- - uses: actions/checkout@master+ - uses: actions/checkout@v3with:fetch-depth: 1diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex fc76e8c78b8..6ab6fa2dfc1 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -43,7 +43,7 @@ jobs:target: core-pluginssteps:- - uses: actions/checkout@master+ - uses: actions/checkout@v3with:fetch-depth: 1