Skip to content

feat: Perform test runs on pull requests #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ on:
schedule:
- cron: "0 13 * * 1"

workflow_dispatch: # Allow manual triggering from the Actions tab
# Allow manual triggering from the Actions tab
workflow_dispatch:

# Run when a pull request is opened to verify.
pull_request:
types: [opened, synchronize]

# Jobs to be executed
jobs:
Expand Down Expand Up @@ -36,11 +41,16 @@ jobs:

# Commit any changes to the collection
- uses: stefanzweifel/git-auto-commit-action@v5
if: github.event_name != 'pull_request'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit_message: Update Postman Collection
commit_message: 'ci: Update Postman Collection'
branch: main
commit_user_name: Github-Actions 🤖
commit_user_email: [email protected]
commit_author: Github-Actions🤖 <[email protected]>
commit_author: Github-Actions🤖 <[email protected]>

# Keep the workflow alive
- uses: gautamkrishnar/keepalive-workflow@v1 # using the workflow with default settings
if: github.event_name != 'pull_request'
Loading