Skip to content

Commit

Permalink
Merge pull request #4657 from MidnightCommander/feature/update-workflows
Browse files Browse the repository at this point in the history
maint: specify permissions and timeouts for all workflows
  • Loading branch information
zyv authored Feb 28, 2025
2 parents 0eef293 + 4efc37d commit a5980f5
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ on:
jobs:
build-alpine:
runs-on: ubuntu-latest
timeout-minutes: 5

container:
image: alpine:latest
timeout-minutes: 5

permissions:
contents: read

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/ci-fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ on:
jobs:
build-fedora:
runs-on: ubuntu-latest
timeout-minutes: 5

container:
image: fedora:latest
timeout-minutes: 5

permissions:
contents: read

steps:
- name: Install git inside container
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15

permissions:
contents: read

steps:
- uses: actions/checkout@v4

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
runs-on: macos-latest
timeout-minutes: 5

permissions:
contents: read

steps:
- uses: actions/checkout@v4

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-solaris.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15

permissions:
contents: read

steps:
- uses: actions/checkout@v4

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10

permissions:
contents: read

steps:
- uses: actions/checkout@v4

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/transifex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ concurrency:

jobs:
transifex-upload:

runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 5

permissions:
contents: read

steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/update-sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ concurrency:
jobs:
update-sources:
runs-on: ubuntu-latest
timeout-minutes: 5

permissions:
contents: read

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit a5980f5

Please sign in to comment.