Bump @octokit/openapi-types from 19.1.0 to 22.2.0 #154
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test build | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
# push: | |
# branches: | |
# - main | |
# - 'releases/*' | |
jobs: | |
build: # make sure build/ci work properly | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: npm install | |
- name: Run all scripts | |
run: | | |
INPUT_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} npm run all | |
get-prs: # make sure we can actually execute the action | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Get merged pull requests | |
uses: ./ | |
id: pull_requests | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
commit_limit: 1 | |
- name: Print merged pull requests | |
env: | |
PULL_REQUESTS: ${{ steps.pull_requests.outputs.pull_requests }} | |
run: | | |
titles=$(jq -r '.[].title' <<<"$PULL_REQUESTS") | |
if [ -z "$titles" ]; then | |
echo "No pull requests were merged between the current and previous tag." | |
else | |
echo "The following pull requests were merged between the current and previous tag:" | |
echo "$titles" | while read -r title; do | |
echo "- $title" | |
done | |
fi |