Skip to content

Commit

Permalink
Testing Dynamic Repository Based on Calling Workflow (#240)
Browse files Browse the repository at this point in the history
* Testing gh default var

* Fix typo

* Update checkout repo reference

* Update checkout repo reference

* Echo repo
  • Loading branch information
Eeebru authored Jan 19, 2024
1 parent e878014 commit 4e89a10
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/workflow-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,18 @@ jobs:
name: "Workflow Linter"
runs-on: ubuntu-22.04
steps:
- name: Get Repository
id: repo
env:
REPO: ${{ github.repository }}
run: |
echo $REPO
echo "repo=$REPO" >> $GITHUB_OUTPUT
- name: Checkout Branch
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: bitwarden/gh-actions
repository: ${{ steps.repo.outputs.repo }}
fetch-depth: 0

- name: Get changed workflows
Expand Down

0 comments on commit 4e89a10

Please sign in to comment.