Remove redundant boms from java #1034
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
# NOTE: This file should always be named `repolinter.yml` to allow | |
# workflow_dispatch to work properly | |
name: Repolinter Action | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
repolint: | |
name: Run Repolinter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Test Default Branch | |
id: default-branch | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
const data = await github.rest.repos.get(context.repo) | |
return data.data && data.data.default_branch === context.ref.split('/').slice(-1)[0] | |
- name: Checkout Self | |
if: ${{ steps.default-branch.outputs.result == 'true' }} | |
uses: actions/checkout@v4 | |
- name: Run Repolinter | |
if: ${{ steps.default-branch.outputs.result == 'true' }} | |
uses: newrelic/repolinter-action@v1 | |
with: | |
config_url: https://raw.githubusercontent.com/newrelic/.github/main/repolinter-rulesets/example-code.yml | |
output_type: issue | |