Skip to content

Commit

Permalink
Fix PRs not able to build successfully
Browse files Browse the repository at this point in the history
Restrice token access
  • Loading branch information
VenomVendor committed Jun 22, 2024
1 parent 6e78b7c commit 0ab8aff
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
name: Build on PR

on:
pull_request:
pull_request_target:
branches: ["main"]

permissions:
actions : read
attestations : read
checks : read
contents : read
deployments : read
id-token : read
issues : read
metadata : read
packages : read
pages : read
pull-requests : read
repository-projects : read
security-events : read
statuses : read

jobs:
build:
name: Build on Java ${{ matrix.java }}
Expand Down

0 comments on commit 0ab8aff

Please sign in to comment.