Skip to content

Commit 95cf455

Browse files
committed
Tweak workflows a bit
- Renames `yaml` to `yml`. - Reads `github.event.repository.fork` for `if`. - Updates badges
1 parent b06d257 commit 95cf455

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
bump:
1212
runs-on: macos-latest
13-
if: github.repository == 'dahlia/homebrew-jetbrains-eap'
13+
if: github.event.repository.fork == false
1414
steps:
1515
- name: Set up Git
1616
run: |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
bump:
11-
uses: ./.github/workflows/bump.yaml
11+
uses: ./.github/workflows/bump.yml
1212
secrets: inherit # https://docs.github.com/en/actions/how-tos/reuse-automations/reuse-workflows#passing-secrets-to-nested-workflows
1313

1414
changed-packages:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ JetBrains EAP versions][1], instead, here we maintain a separated tap for them.
99
brew tap dahlia/jetbrains-eap
1010
brew install intellij-idea-ce-eap
1111

12-
[GitHub Actions]: https://github.com/dahlia/homebrew-jetbrains-eap/actions/workflows/check.yaml
13-
[GitHub Actions badge]: https://github.com/dahlia/homebrew-jetbrains-eap/actions/workflows/check.yaml/badge.svg
12+
[GitHub Actions]: https://github.com/dahlia/homebrew-jetbrains-eap/actions/workflows/check.yml/badge.svg?branch=main&event=push
13+
[GitHub Actions badge]: https://github.com/dahlia/homebrew-jetbrains-eap/actions/workflows/check.yml?query=event:push+branch:main
1414
[1]: https://github.com/Homebrew/homebrew-cask/issues/32521
1515

1616

0 commit comments

Comments
 (0)