Skip to content

Commit

Permalink
Workflow linter language cleanup (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
withinfocus authored Mar 11, 2024
1 parent 50c40f8 commit 9a243de
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/workflow-linter.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
---
name: Workflow Linter
name: Lint workflow

on:
pull_request:
paths:
- .github/workflows/**
workflow_call: {}
workflow_dispatch: {}
workflow_call:
workflow_dispatch:

jobs:
lint:
name: "Workflow Linter"
name: Lint
runs-on: ubuntu-22.04
steps:
- name: Get Repository
- name: Get repository
id: repo
env:
REPO: ${{ github.repository }}
run: |
echo $REPO
echo "repo=$REPO" >> $GITHUB_OUTPUT
- name: Checkout Branch
- name: Check out branch
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: ${{ steps.repo.outputs.repo }}
Expand All @@ -42,7 +42,7 @@ jobs:
echo "count=$COUNT" >> $GITHUB_OUTPUT
echo "modified-workflows=$MODIFIED_EXISTING_WORKFLOWS" >> $GITHUB_OUTPUT
- name: Workflow Lint
- name: Lint
if: steps.changed-workflows.outputs.count != 0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 9a243de

Please sign in to comment.