diff options
| -rw-r--r-- | .github/workflows/lint.yml | 12 | ||||
| -rw-r--r-- | .github/workflows/status_embed.yaml | 6 | 
2 files changed, 9 insertions, 9 deletions
| diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6112699..a9946b2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,7 +26,7 @@ jobs:        - uses: actions/checkout@v2 -      - name: Setup python +      - name: Setup Python          id: python          uses: actions/setup-python@v2          with: @@ -38,7 +38,7 @@ jobs:        # changed, we create a cache key that is a composite of those states.        #        # Only when the context is exactly the same, we will restore the cache. -      - name: Python Dependency Caching +      - name: Python dependency caching          uses: actions/cache@v2          id: python_cache          with: @@ -48,7 +48,7 @@ jobs:            ${{ hashFiles('./requirements.txt') }}"        # Install our dependencies if we did not restore a dependency cache -      - name: Install dependencies using poetry +      - name: Install dependencies using pip          if: steps.python_cache.outputs.cache-hit != 'true'          run: |            pip install -U pip wheel setuptools @@ -57,7 +57,7 @@ jobs:        # This step caches our pre-commit environment. To make sure we        # do create a new environment when our pre-commit setup changes,        # we create a cache key based on relevant factors. -      - name: Pre-commit Environment Caching +      - name: Pre-commit environment caching          uses: actions/cache@v2          with:            path: ${{ env.PRE_COMMIT_HOME }} @@ -74,7 +74,7 @@ jobs:        # we fail silently using the `continue-on-error` option. It's        # nice if this succeeds, but if it fails for any reason, it        # does not mean that our lint checks failed. -      - name: Prepare Pull Request Payload artifact +      - name: Prepare PR payload artifact          id: prepare-artifact          if: always() && github.event_name == 'pull_request'          continue-on-error: true @@ -84,7 +84,7 @@ jobs:        # get the original outcome of the previous step before the        # `continue-on-error` conclusion is applied, we use the        # `.outcome` value. This step also fails silently. -      - name: Upload the Pull Request Artifact +      - name: Upload the PR artifact          if: always() && steps.prepare-artifact.outcome == 'success'          continue-on-error: true          uses: actions/upload-artifact@v2 diff --git a/.github/workflows/status_embed.yaml b/.github/workflows/status_embed.yaml index f327865..e6e3d44 100644 --- a/.github/workflows/status_embed.yaml +++ b/.github/workflows/status_embed.yaml @@ -22,14 +22,14 @@ jobs:        github.event.workflow_run.event == 'pull_request' ||        github.event.workflow_run.conclusion == 'failure' ||        github.event.workflow_run.conclusion == 'cancelled' -    name: Send Status Embed to Discord +    name: Send status embed to Discord      runs-on: ubuntu-latest      steps:        # A workflow_run event does not contain all the information        # we need for a PR embed. That's why we upload an artifact        # with that information in the Lint workflow. -      - name: Get Pull Request Information +      - name: Get PR information          id: pr_info          if: github.event.workflow_run.event == 'pull_request'          run: | @@ -50,7 +50,7 @@ jobs:        # standard embeds that Discord sends. This embed will contain        # more information and we can fine tune when we actually want        # to send an embed. -      - name: GitHub Actions Status Embed for Discord +      - name: GitHub actions status embed for Discord          uses: SebastiaanZ/[email protected]          with:            # Our GitHub Actions webhook | 
