1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-05 10:20:36 +02:00
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 fix: change config.config_data column type to longblob in mysql (#2434) 2023-09-10 22:24:51 +02:00
const.go Add pull request closed event (#2684) 2023-12-26 19:22:52 +01:00
cron.go
encryption.go
environ.go Support more addon types (#2984) 2023-12-24 13:26:23 +01:00
event.go
feed.go
log.go
netrc.go
org.go
pagination_test.go
pagination.go
perm.go
pipeline.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
pull_request.go Change PullRequest Index to ForgeRemoteID / string type (#2823) 2023-11-26 00:52:52 +01:00
redirection.go
registry.go
repo.go Hide PR tab if PRs are disabled (#3004) 2023-12-24 11:04:18 +02:00
resource_limit.go
secret_test.go Allow PR secrets to be used on close (#3084) 2023-12-31 21:43:24 +01:00
secret.go Allow PR secrets to be used on close (#3084) 2023-12-31 21:43:24 +01:00
server_config.go
step_test.go Add some tests (#2652) 2023-10-28 13:37:54 +02:00
step.go Add some tests (#2652) 2023-10-28 13:37:54 +02:00
task.go Fix: change tasks.task_data column type to longblob in mysql (#2418) 2023-09-10 13:33:48 +02:00
team.go
user_test.go
user.go Refactor pipeline parsing and forge refreshing (#2527) 2023-10-08 14:05:06 +02:00
workflow.go Unique status for matrix (#2695) 2023-11-01 17:28:02 +01:00