Skip to content

Commit

Permalink
small updates to the workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Feb 16, 2024
1 parent 11b4d73 commit 31c184b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/development_freeze.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# doc: https://github.com/redhat-plumbers-in-action/devel-freezer#readme

---

name: Development Freeze
Expand All @@ -19,9 +18,9 @@ jobs:
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest

permissions:
issues: write
# Needed for commenting on Pull Requests
pull-requests: write

steps:
Expand All @@ -41,5 +40,3 @@ jobs:
with:
pr-number: ${{ fromJSON(steps.Artifact.outputs.pr-metadata-json).number }}
token: ${{ secrets.GITHUB_TOKEN }}

...
6 changes: 1 addition & 5 deletions .github/workflows/gather-pr-metadata.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---

name: Gather Pull Request Metadata

on:
pull_request:
branches: [ main ]
types: [ opened, reopened, synchronize ]

permissions:
contents: read
Expand Down Expand Up @@ -32,5 +30,3 @@ jobs:
name: Pull Request Metadata
path: ${{ steps.Metadata.outputs.metadata-file }}
retention-days: 1

...

0 comments on commit 31c184b

Please sign in to comment.