feat: Add AWS_SNS_TOPIC_ARN semantic convention support for AWS SNS SDK #366
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: Auto spotless | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Free disk space | |
| run: .github/scripts/gha-free-disk-space.sh | |
| - name: Set up JDK for running Gradle | |
| uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 | |
| with: | |
| distribution: temurin | |
| java-version-file: .java-version | |
| - name: Set up gradle | |
| uses: gradle/actions/setup-gradle@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4.4.0 | |
| with: | |
| cache-read-only: true | |
| - name: Check out PR branch | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: gh pr checkout ${{ github.event.pull_request.number }} | |
| - name: Spotless | |
| run: ./gradlew spotlessApply | |
| - id: create-patch | |
| name: Create patch file | |
| run: | | |
| git diff > patch | |
| if [ -s patch ]; then | |
| echo "exists=true" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Upload patch file | |
| if: steps.create-patch.outputs.exists == 'true' | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| path: patch | |
| name: patch |