mirror of
https://github.com/ivuorinen/sysvinit-service-generator.git
synced 2026-01-26 11:33:59 +00:00
chore(workflow): update workflow settings
This commit is contained in:
2
.github/workflows/compress-images.yml
vendored
2
.github/workflows/compress-images.yml
vendored
@@ -13,6 +13,8 @@ jobs:
|
||||
CompressOnDemandOrSchedule:
|
||||
name: calibreapp/image-actions
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
4
.github/workflows/dependency-review.yml
vendored
4
.github/workflows/dependency-review.yml
vendored
@@ -17,9 +17,13 @@ permissions: read-all
|
||||
jobs:
|
||||
dependency-review:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: 'Checkout Repository'
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 'Dependency Review'
|
||||
uses: actions/dependency-review-action@v4
|
||||
with:
|
||||
comment-summary-in-pr: always
|
||||
|
||||
1
.github/workflows/pr-compress-images.yml
vendored
1
.github/workflows/pr-compress-images.yml
vendored
@@ -17,6 +17,7 @@ jobs:
|
||||
# Only run on Pull Requests within the same repository, and not from forks.
|
||||
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||
name: calibreapp/image-actions
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
|
||||
2
.github/workflows/pr-lint.yml
vendored
2
.github/workflows/pr-lint.yml
vendored
@@ -13,6 +13,8 @@ permissions: read-all
|
||||
|
||||
jobs:
|
||||
build:
|
||||
permissions:
|
||||
statuses: write
|
||||
# https://github.com/ivuorinen/ivuorinen/.github/workflows/pr-lint.yml
|
||||
uses: ivuorinen/ivuorinen/.github/workflows/pr-lint.yml@main
|
||||
|
||||
|
||||
10
.github/workflows/release-drafter.yml
vendored
10
.github/workflows/release-drafter.yml
vendored
@@ -4,12 +4,22 @@ name: Release Drafter
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
workflow_call:
|
||||
# pull_request event is required only for autolabeler
|
||||
pull_request:
|
||||
# Only following types are handled by the action, but one can default to all as well
|
||||
types: [opened, reopened, synchronize]
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
name: ✏️ Draft release
|
||||
permissions:
|
||||
# write permission is required to create a github release
|
||||
contents: write
|
||||
# write permission is required for autolabeler
|
||||
# otherwise, read permission is required at least
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 🚀 Run Release Drafter
|
||||
|
||||
Reference in New Issue
Block a user