microsoft / axe-windows

Automated accessibility testing engine for Windows applications
MIT License
134 stars 62 forks source link

fix: disable custom tag task for the forked repo PRs. #997

Closed v-viyada closed 7 months ago

v-viyada commented 7 months ago

Details

1ES PT adds tags to pipeline runs using the access token provided by ADO. In the case of pipeline runs against forked repos of a GitHub repo, the access token does not have Edit build quality permissions and hence cannot add tags. To unblock those pipelines, skipped tagging by using the option SkipBuildTagsForGitHubPullRequests.

Verified that the only change in the pipeline run is that it do not add "1ES.PT.Unofficial" tag on the Run. In place of that it adds below warning message.

[warning]1ES PT Warning: Skipping build tags as this build is a pull request form github which does not have permissions to add tags.

Motivation
Context

Pull request checklist