Skip to content

Commit

Permalink
updated to not arrow functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ldraney committed May 8, 2024
1 parent a4c9dbf commit 95880ca
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/scripts/prLabelSemver.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const appendSummary = require("./actionUtils");
*/
async function prLabelSemver(params) {
const { github, context, core } = params;

try {
// Retrieve necessary data from prData.js
const { label, prNumber, prUrl } = await prData({ github, context, core });
Expand Down
4 changes: 3 additions & 1 deletion .github/scripts/preTagSummary.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ const appendSummary = require("./actionUtils");
* @param {object} context - The GitHub context object with additional pull request information.
* @param {object} core - The GitHub core library, used for setting action failure messages.
*/
const preTagSummary = async ({ github, context, core }) => {
async function preTagSummary(params) {
const { github, context, core } = params;

try {
// Retrieve the current release version and proposed new version from prData
const { currentVersion, newVersion } = await prData({ github, context, core, });
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/create-and-post-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Create And Post Tag with Summary

on:
workflow_call:
push:
branches:
- 1727-cd-pipeline-versioning

jobs:
create-and-post-tag:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-label-semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: CD Pipeline PR Labels and Semver bump Summary

on:
workflow_call:
push:
branches:
- 1727-cd-pipeline-versioning

jobs:
check-pr-sem:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pre-tag-summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: CD Pipeline Pre Tag Summary

on:
workflow_call:
push:
branches:
- 1727-cd-pipeline-versioning

jobs:
pre-tag-summary:
Expand Down

0 comments on commit 95880ca

Please sign in to comment.