Skip to content

Commit 05b5652

Browse files
authored
Merge pull request #75 from mhashizume/PA-5395/main/github_issues
(PA-5395) Issues housekeeping
2 parents fbd0c6d + 8b90774 commit 05b5652

File tree

4 files changed

+22
-64
lines changed

4 files changed

+22
-64
lines changed

.github/workflows/jira.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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 }}

.github/workflows/static_code_analysis.yaml

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -6,44 +6,8 @@ on:
66
branches: [ main ]
77
pull_request:
88
branches: [ main ]
9+
workflow_dispatch:
910

1011
jobs:
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"

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "Apache-2.0",
77
"source": "https://github.com/puppetlabs/puppetlabs-sshkeys_core",
88
"project_page": "https://github.com/puppetlabs/puppetlabs-sshkeys_core",
9-
"issues_url": "https://tickets.puppetlabs.com/project/MODULES",
9+
"issues_url": "https://github.com/puppetlabs/puppetlabs-sshkeys_core/issues",
1010
"dependencies": [
1111

1212
],

rakelib/commits.rake

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)