woodpecker/server/model
qwerty287 ef1d286596
Allow PR secrets to be used on close (#3084)
closes https://github.com/woodpecker-ci/woodpecker/issues/3071

1. If a secret can be used on PRs, it can also be used on PR close.
2. If no events are set, disallow access to secret. This was different
before, secrets without any event set were allowed for all events.
3. Compare strings instead of patterns.

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-12-31 21:43:24 +01:00
..
agent.go
config.go
const.go Add pull request closed event (#2684) 2023-12-26 19:22:52 +01:00
cron.go
encryption.go
environ.go
event.go
feed.go
log.go
netrc.go
org.go
pagination.go
pagination_test.go
perm.go
pipeline.go
pull_request.go
redirection.go
registry.go
repo.go
resource_limit.go
secret.go Allow PR secrets to be used on close (#3084) 2023-12-31 21:43:24 +01:00
secret_test.go Allow PR secrets to be used on close (#3084) 2023-12-31 21:43:24 +01:00
server_config.go
step.go
step_test.go
task.go
team.go
user.go
user_test.go
workflow.go