[JENKINS-73959] Use CSP compatible version of st:bind
in PullRequestMonitoringPortlet/monitor.jelly
#1868
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://issues.jenkins.io/browse/JENKINS-73959
Testing done
Requires https://plugins.jenkins.io/pull-request-monitoring/ to be installed. I've set up a multibranch project, because that's the only supported project type according to https://plugins.jenkins.io/pull-request-monitoring/#plugin-content-prerequisites.
Also used https://plugins.jenkins.io/github-branch-source/ as branch source for the project. Repo I've used as the source is https://github.com/yaroslavafenkin/bad-project.
Before the change
After the change
Other CSP violations that appear in the video come from https://github.com/jenkinsci/pull-request-monitoring-plugin/blob/d602c91131a8112eef8cc9d00aee013f4443a307/src/main/resources/io/jenkins/plugins/monitoring/MonitoringDefaultAction/index.jelly#L60 and https://plugins.jenkins.io/muuri-api/ which is the dependency of Pull Request Monitoring.
Submitter checklist