Skip to content

Commit

Permalink
fix: explicitly check-out the forked repo for release job
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeveland27 committed Feb 17, 2023
1 parent 2d2b753 commit 5c7d05b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,35 @@ name: CI
on: [push, pull_request]

jobs:
log-context:
runs-on: 'ubuntu-latest'
steps:
# Dump all contexts
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJson(matrix) }}
run: echo "$MATRIX_CONTEXT"

test:
runs-on: ubuntu-latest
name: Test
Expand Down Expand Up @@ -93,6 +122,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
repository: 'newrelic-forks/repolinter'
ref: main
fetch-depth: 0

- name: Semantic Release
id: semantic
Expand Down

0 comments on commit 5c7d05b

Please sign in to comment.