Skip to content

Commit

Permalink
Add yaml document start marker (---) in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsDrike committed May 23, 2024
1 parent 7edf93c commit e7c2c9b
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/changelog-fragment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Changelog Fragment present

on:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Dependabot auto-merge
on: pull_request_target

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Prepare Release

on:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Publish to PyPI / GitHub

on:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/status_embed.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Status Embed

on:
Expand All @@ -14,7 +15,7 @@ concurrency:

jobs:
status_embed:
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
Expand Down Expand Up @@ -45,7 +46,7 @@ jobs:
uses: SebastiaanZ/[email protected]
with:
# Our GitHub Actions webhook
webhook_id: '1051784242318815242'
webhook_id: "1051784242318815242"
webhook_token: ${{ secrets.webhook_token }}

# We need to provide the information of the workflow that
Expand All @@ -64,5 +65,5 @@ jobs:

# And some additional details
actor: ${{ github.actor }}
repository: ${{ github.repository }}
repository: ${{ github.repository }}
ref: ${{ github.ref }}
1 change: 1 addition & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Unit-Tests

on: workflow_call
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Validation

on: workflow_call
Expand Down

0 comments on commit e7c2c9b

Please sign in to comment.