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

migrate off deprecated github action #259

Merged
merged 3 commits into from
Dec 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:

# Ref: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions
permissions:
actions: read
contents: read
packages: write

concurrency: ci-${{ github.ref }}
Expand All @@ -17,17 +19,17 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: nrwl/last-successful-commit-action@f74ee67ed77cc6a9f54c742c8c04b86ae33906fe
- uses: nrwl/nx-set-shas@177b48373c6dc583ce0d9257ffb484bdd232fedf
id: last_successful_commit_push
with:
branch: ${{ github.ref_name }}
main-branch-name: ${{ github.ref_name }}
workflow_id: 'ci.yml'
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@8a4cc4fbd67975557b6d85dd302f5f9400b9c92e
with:
base_sha: ${{ steps.last_successful_commit_push.outputs.commit_hash }}
base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
files: |
plugins/**
files_ignore: |
Expand Down