File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 17
17
uses : actions/checkout@v2
18
18
19
19
- name : PR's only change is <VersionFeature> in eng/Versions.props
20
+ id : only_version_feature_changed
20
21
uses : actions/github-script@v4
21
22
with :
22
23
script : |
25
26
const prNumber = context.payload.pull_request.number;
26
27
const { data: files } = await github.pulls.listFiles({
27
28
owner: context.repo.owner,
28
- repo: context.repo.repo, repo: context.repo.repo,
29
+ repo: context.repo.repo,
29
30
pull_number: prNumber
30
31
});
31
32
// If files other than eng/Versions.props are changed, output message and exit
48
49
core.exportVariable("only_version_feature_changed", "true");
49
50
50
51
- 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'
52
53
uses : actions/github-script@v4
53
54
with :
54
55
script : |
You can’t perform that action at this time.
0 commit comments