Skip to content

Commit

Permalink
Merge pull request #6 from yas-okadatech/add-permission
Browse files Browse the repository at this point in the history
add permission to GitHub Actions
  • Loading branch information
kekekenta authored Jan 9, 2024
2 parents 612ea12 + ac19c63 commit 84339f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
- "master"
types: [opened, synchronize]

permissions:
contents: read
packages: write

jobs:
main:
runs-on: ubuntu-latest
Expand All @@ -36,6 +40,7 @@ jobs:
ruby-version: jruby
- name: push gem
uses: trocco-io/push-gem-to-gpr-action@v1
if: startsWith( github.ref, 'refs/tags/' ) || github.event_name == 'workflow_dispatch'
with:
language: java
gem-path: "./build/gems/*.gem"
Expand Down

0 comments on commit 84339f9

Please sign in to comment.