Skip to content

Commit cdabc84

Browse files
committed
[puppetsync] Clean up for linters
Clean up files distributed by puppetsync for various linters. Also fix a quoting issue in create-github-release action.
1 parent 0ce4796 commit cdabc84

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/add_new_issue_to_triage_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: Add new issues to triage project
33

4-
on:
4+
'on':
55
issues:
66
types:
77
- opened

.github/workflows/tag_deploy_rubygem.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
---
4040
name: 'Tag: Release to GitHub + rubygems.org (no RPMS)'
4141

42-
on:
42+
'on':
4343
push:
4444
tags:
4545
# NOTE: These filter patterns aren't actually regexes:
@@ -48,7 +48,7 @@ on:
4848
- '[0-9]+\.[0-9]+\.[0-9]+\-[a-z]+[0-9]+'
4949

5050
env:
51-
PUPPET_VERSION: '~> 7'
51+
PUPPET_VERSION: '~> 8'
5252
LOCAL_WORKFLOW_CONFIG_FILE: .github/workflows.local.json
5353

5454
jobs:
@@ -108,7 +108,8 @@ jobs:
108108
109109
create-github-release:
110110
name: Deploy GitHub Release
111-
needs: [ releng-checks ]
111+
needs:
112+
- releng-checks
112113
if: github.repository_owner == 'simp'
113114
runs-on: ubuntu-latest
114115
outputs:
@@ -162,13 +163,15 @@ jobs:
162163
run: |
163164
echo "${RELEASE_MESSAGE}" > /tmp/.commit-msg.txt
164165
args=(-F /tmp/.commit-msg.txt)
165-
[[ $IS_PRERELEASE == yes ]] && args+=(--prerelease)
166+
[[ "$IS_PRERELEASE" == yes ]] && args+=(--prerelease)
166167
167168
gh release create ${args[@]} "$TARGET_TAG"
168169
169170
deploy-rubygem:
170171
name: Deploy RubyGem Release
171-
needs: [ releng-checks, create-github-release ]
172+
needs:
173+
- releng-checks
174+
- create-github-release
172175
if: (github.repository_owner == 'simp') && (needs.create-github-release.outputs.prerelease != 'yes')
173176
runs-on: ubuntu-latest
174177
env:

0 commit comments

Comments
 (0)