Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions: Replace master references with origin/HEAD #43942

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/full-site-editing-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@HEAD

# https://github.com/actions/cache/blob/master/examples.md#node---lerna
# https://github.com/actions/cache/blob/HEAD/examples.md#node---lerna
- name: Restore node_modules cache
id: cache
uses: actions/cache@master
uses: actions/cache@HEAD
with:
path: |
node_modules
Expand All @@ -29,7 +29,7 @@ jobs:
run: yarn install --frozen-lockfile # Not needed when restoring from cache.

- name: Run composer
uses: nick-zh/composer-php@master
uses: nick-zh/composer-php@HEAD
with:
action: 'install'

Expand All @@ -56,11 +56,11 @@ jobs:
TRIGGER_CALYPSO_APP_BUILD_ENDPOINT: ${{ secrets.TRIGGER_CALYPSO_APP_BUILD_ENDPOINT }}
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@HEAD

# It saves a bit of time to download the artifact rather than doing a build.
- name: Get Build
uses: actions/download-artifact@master
uses: actions/download-artifact@HEAD
with:
name: fse-build-archive
path: apps/full-site-editing/full-site-editing-plugin
Expand All @@ -74,24 +74,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@HEAD

# It saves a bit of time to download the artifact rather than doing a build.
- name: Get build
uses: actions/download-artifact@master
uses: actions/download-artifact@HEAD
with:
name: fse-build-archive
path: apps/full-site-editing/full-site-editing-plugin

- name: Run composer
uses: nick-zh/composer-php@master
uses: nick-zh/composer-php@HEAD
with:
action: 'install'

# We still need to access some local node modules to run things.
- name: Restore node_modules cache
id: cache
uses: actions/cache@master
uses: actions/cache@HEAD
with:
path: |
node_modules
Expand Down Expand Up @@ -120,10 +120,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@HEAD

- name: Run composer
uses: nick-zh/composer-php@master
uses: nick-zh/composer-php@HEAD
with:
action: 'install'

Expand Down