mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-05-24 08:48:50 -05:00
Add permissions to workflows
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
name: Docker Publish Dev Multiarch
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_dispatch: {}
|
||||
push:
|
||||
branches: master
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
name: Docker Publish Custom Release Multiarch
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_dispatch: {}
|
||||
inputs:
|
||||
tagname:
|
||||
description: 'Tag name to be built'
|
||||
required: true
|
||||
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
name: Docker Publish Release Multiarch
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_dispatch: {}
|
||||
release:
|
||||
types: [released]
|
||||
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
name: Compile and run unit tests
|
||||
on: [workflow_dispatch, push, pull_request]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user