File tree Expand file tree Collapse file tree 4 files changed +22
-64
lines changed Expand file tree Collapse file tree 4 files changed +22
-64
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Export issue to Jira
3+
4+ on :
5+ issues :
6+ types : [labeled]
7+
8+ permissions :
9+ issues : write
10+
11+ jobs :
12+ export :
13+ uses : " puppetlabs/phoenix-github-actions/.github/workflows/jira.yml@main"
14+ with :
15+ jira-project : PA
16+ jira-base-url : ${{ vars.jira_base_url }}
17+ jira-user-email : ${{ vars.jira_user_email }}
18+ secrets :
19+ jira-api-token : ${{ secrets.JIRA_ISSUES_ACTION }}
Original file line number Diff line number Diff line change 66 branches : [ main ]
77 pull_request :
88 branches : [ main ]
9+ workflow_dispatch :
910
1011jobs :
1112 static_code_analysis :
12- name : Run checks
13-
14- env :
15- ruby_version : 2.6
16- extra_checks : check:symlinks check:git_ignore check:dot_underscore check:test_file
17-
18- runs-on : ' ubuntu-20.04'
19- steps :
20- - name : Checkout current PR code
21- uses : actions/checkout@v4
22- with :
23- fetch-depth : 0
24-
25- - name : Install ruby version ${{ env.ruby_version }}
26- uses : ruby/setup-ruby@v1
27- with :
28- ruby-version : ${{ env.ruby_version }}
29-
30- - name : Prepare testing environment with bundler
31- run : |
32- git config --global core.longpaths true
33- bundle config set --local without 'release'
34- bundle update --jobs 4 --retry 3
35-
36- - name : Run commits check
37- run : bundle exec rake commits
38-
39- - name : Run rubocop check
40- run : bundle exec rake ${{ env.extra_checks }} rubocop
41-
42- - name : Run syntax check
43- run : bundle exec rake ${{ env.extra_checks }} syntax syntax:hiera syntax:manifests syntax:templates
44-
45- - name : Run lint check
46- run : bundle exec rake ${{ env.extra_checks }} lint
47-
48- - name : Run metadata_lint check
49- run : bundle exec rake ${{ env.extra_checks }} metadata_lint
13+ uses : " puppetlabs/phoenix-github-actions/.github/workflows/static_code_analysis.yaml@main"
Original file line number Diff line number Diff line change 66 "license" : " Apache-2.0" ,
77 "source" : " https://github.com/puppetlabs/puppetlabs-host_core" ,
88 "project_page" : " https://github.com/puppetlabs/puppetlabs-host_core" ,
9- "issues_url" : " https://tickets.puppetlabs. com/projects/MODULES " ,
9+ "issues_url" : " https://github. com/puppetlabss/puppetlabs-host_core/issues " ,
1010 "dependencies" : [
1111
1212 ],
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments