Skip to content

Commit

Permalink
remove unused code and test branch
Browse files Browse the repository at this point in the history
  • Loading branch information
JackTn committed Dec 19, 2024
1 parent 5b11a33 commit 62f6013
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/SDK-Suppressions-Label.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main
- RPSaaSMaster
- release*
- jacktn/suppression-action

jobs:
process-sdk-suppressions-labels:
Expand Down Expand Up @@ -43,22 +42,12 @@ jobs:
throw new Error("This workflow must run in the context of a pull request.");
}
console.log("This action trigger by ", context.eventName);
const prContext = {
number: pr.number,
title: pr.title,
html_url: pr.html_url,
labels: pr.labels.map(label => label.name)
};
const prContextStr = JSON.stringify(prContext);
console.log("PR Context:", prContextStr);
core.setOutput("prContext", prContextStr);
core.setOutput("prLabels", pr.labels.map(label => label.name));
result-encoding: string

- name: Run Get suppressions label script
id: run-suppressions-script
env:
GITHUB_PULL_REQUEST_CONTEXT: ${{ steps.fetch-pullRequest-context.outputs.prContext }}
OUTPUT_FILE: "output.json"
GITHUB_PULL_REQUEST_CHANGE_FILES: ${{ steps.get-changedFiles.outputs.changedFiles }}
GITHUB_PULL_REQUEST_LABELS: ${{ steps.fetch-pullRequest-context.outputs.prLabels }}
Expand Down

0 comments on commit 62f6013

Please sign in to comment.