chore(deps): update dependency scalafmt to v3.8.5 #204
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow serves as the dispatcher for the CI/CD pipeline, acting as a filter to ensure that the | |
# pipeline runs only when necessary. It should be placed in a separate file to prevent triggering the | |
# CI/CD workflow when conditions are not met, as this could lead to incorrect behavior for bots that | |
# depends on the successful execution of specific jobs. | |
name: Dispatcher | |
on: | |
push: | |
paths-ignore: | |
- 'README.md' | |
- 'CONTRIBUTING.md' | |
- 'CHANGELOG.md' | |
- 'LICENSE' | |
- '.gitignore' | |
- 'renovate.json' | |
- '.mergify.yml' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
print-github-context: | |
runs-on: ubuntu-24.04 | |
steps: | |
- run: | | |
echo 'github.event_name = ${{ github.event_name }}' | |
echo 'github.event.pull_request.head.repo.full_name = ${{ github.event.pull_request.head.repo.full_name }}' | |
echo 'github.repository = ${{ github.repository }}' | |
echo 'github.ref_name = ${{ github.ref_name }}' | |
echo 'github.event.repository.default_branch = ${{ github.event.repository.default_branch }}' | |
dispatcher: | |
# Prevents running the workflow twice on PR made by a branch of the same repository | |
runs-on: ubuntu-24.04 | |
if: >- | |
github.event_name != 'pull_request' | |
|| github.event.pull_request.head.repo.full_name != github.repository | |
steps: | |
- run: 'true' | |
ci-cd: | |
needs: dispatcher | |
permissions: | |
contents: write | |
packages: write | |
uses: ./.github/workflows/ci-cd.yaml | |
secrets: inherit |