File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change 2121 steps :
2222 - uses : actions/checkout@v4
2323 - uses : newrelic/newrelic-infra-checkers@v1
24- - name : Semgrep
25- uses : returntocorp/semgrep-action@v1
26- with :
27- auditOn : push
2824 - name : golangci-lint
2925 uses : golangci/golangci-lint-action@v3
3026 continue-on-error : ${{ github.event_name != 'pull_request' }}
File renamed without changes.
Original file line number Diff line number Diff line change 22# workflow_dispatch to work properly
33name : Repolinter Action
44
5- # NOTE: This workflow will ONLY check the default branch!
6- # Currently there is no elegant way to specify the default
7- # branch in the event filtering, so branches are instead
8- # filtered in the "Test Default Branch" step.
9- on : [push, workflow_dispatch]
5+ on :
6+ push :
7+ workflow_dispatch :
108
119jobs :
12- repolint :
13- name : Run Repolinter
14- runs-on : ubuntu-latest
15- steps :
16- - name : Test Default Branch
17- id : default-branch
18- uses : actions/github-script@v2
19- with :
20- script : |
21- const data = await github.repos.get(context.repo)
22- return data.data && data.data.default_branch === context.ref.split('/').slice(-1)[0]
23- - name : Checkout Self
24- if : ${{ steps.default-branch.outputs.result == 'true' }}
25- uses : actions/checkout@v4
26- - name : Run Repolinter
27- if : ${{ steps.default-branch.outputs.result == 'true' }}
28- uses : newrelic/repolinter-action@v1
29- with :
30- config_url : https://raw.githubusercontent.com/newrelic/.github/main/repolinter-rulesets/community-plus.yml
31- output_type : issue
10+ repolinter :
11+ uses : newrelic/coreint-automation/.github/workflows/reusable_repolinter.yaml@v2
Original file line number Diff line number Diff line change 1+ name : Security Scan
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ - main
8+ - renovate/**
9+ pull_request :
10+ schedule :
11+ - cron : " 0 3 * * *"
12+
13+ jobs :
14+ security :
15+ uses : newrelic/coreint-automation/.github/workflows/reusable_security.yaml@v2
16+ with :
17+ skip-dirs : " build"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1111
1212jobs :
1313 prerelease :
14- uses : newrelic/coreint-automation/.github/workflows/trigger_prerelease .yaml@v1
14+ uses : newrelic/coreint-automation/.github/workflows/reusable_trigger_prerelease .yaml@v2
1515 secrets :
1616 bot_token : ${{ secrets.COREINT_BOT_TOKEN }}
1717 slack_channel : ${{ secrets.COREINT_SLACK_CHANNEL }}
You can’t perform that action at this time.
0 commit comments