Skip to content

Commit 65a5365

Browse files
committed
Apply suggestions
1 parent c18d049 commit 65a5365

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/remove-lockdown-label.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
uses: actions/checkout@v2
1818

1919
- name: PR's only change is <VersionFeature> in eng/Versions.props
20+
id: only_version_feature_changed
2021
uses: actions/github-script@v4
2122
with:
2223
script: |
@@ -25,7 +26,7 @@ jobs:
2526
const prNumber = context.payload.pull_request.number;
2627
const { data: files } = await github.pulls.listFiles({
2728
owner: context.repo.owner,
28-
repo: context.repo.repo, repo: context.repo.repo,
29+
repo: context.repo.repo,
2930
pull_number: prNumber
3031
});
3132
// If files other than eng/Versions.props are changed, output message and exit
@@ -48,7 +49,7 @@ jobs:
4849
core.exportVariable("only_version_feature_changed", "true");
4950
5051
- name: Remove Branch Lockdown label from other PRs targeting this branch
51-
if: steps.PR_only_change_is_VersionFeature_in_eng_Versions_props.outputs.only_version_feature_changed == 'true'
52+
if: steps.only_version_feature_changed.outputs.only_version_feature_changed == 'true'
5253
uses: actions/github-script@v4
5354
with:
5455
script: |

0 commit comments

Comments
 (0)