Skip to content

Commit

Permalink
HHH-15468 Set permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
sashashura authored and beikov committed Aug 29, 2022
1 parent f030b84 commit 4dea689
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/contributor-build.yml
Expand Up @@ -13,32 +13,35 @@ on:
pull_request:
branches:
- '5.4'

permissions: {} # none

# See https://github.com/hibernate/hibernate-orm/pull/4615 for a description of the behavior we're getting.
concurrency:
# Consider that two builds are in the same concurrency group (cannot run concurrently)
# if they use the same workflow and are about the same branch ("ref") or pull request.
group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}"
# Cancel previous builds in the same concurrency group even if they are in process
# for pull requests or pushes to forks (not the upstream repository).
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'hibernate/hibernate-orm' }}

jobs:
build:
permissions:
contents: read
name: Java 8
runs-on: ubuntu-latest
# We want to know the test results of all matrix entries
continue-on-error: true
strategy:
fail-fast: false
matrix:
# When GitHub Actions supports it: https://github.com/actions/toolkit/issues/399
# We will use the experimental flag as indicator whether a failure should cause a workflow failure
include:
- rdbms: h2
experimental: false
# - rdbms: derby
# experimental: true
# - rdbms: mariadb
# experimental: true
- rdbms: postgresql
experimental: true
# - rdbms: oracle
# experimental: true
# - rdbms: db2
# experimental: true
# - rdbms: mssql
# experimental: true
steps:
- uses: actions/checkout@v2
- name: Reclaim Disk Space
Expand Down

0 comments on commit 4dea689

Please sign in to comment.