Release 2.40.0 #148
Workflow file for this run
This file contains hidden or 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
| name: Danger (Swift) | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - edited | |
| - synchronize | |
| concurrency: | |
| group: ${{ github.ref }}-danger-swift | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| danger-swift: | |
| runs-on: ubuntu-latest | |
| name: "Run Danger" | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Debug Environment | |
| run: | | |
| echo "Current directory: $(pwd)" | |
| echo "Files in current directory:" | |
| ls -la | |
| echo "Checking for Dangerfile.swift:" | |
| ls -la Dangerfile.swift || echo "Dangerfile.swift not found" | |
| echo "Checking for ios/.swiftlint.yml:" | |
| ls -la ios/.swiftlint.yml || echo "ios/.swiftlint.yml not found" | |
| echo "iOS directory contents:" | |
| ls -la ios/ || echo "ios directory not found" | |
| - name: Danger | |
| uses: docker://ghcr.io/danger/danger-swift-with-swiftlint@sha256:ed07386a85f1328619b49e3cfd737ffce351fcd2620d858cfc997d7e3e401b59 #3.15.0 | |
| with: | |
| args: --id=swift --failOnErrors --no-publish-check --remove-previous-comments --verbose | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} |