Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'main' into actions-http-client
  • Loading branch information
James M. Greene authored and GitHub committed Mar 7, 2023
2 parents 973ee9b + a2b8e8c commit f2ea9e9
Show file tree
Hide file tree
Showing 6 changed files with 836 additions and 800 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/draft-release.yml
@@ -0,0 +1,17 @@
name: Draft release
on:
push:
branches:
- main

permissions:
contents: write

jobs:
draft-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17 changes: 10 additions & 7 deletions .github/workflows/rebuild-dependabot-prs.yml
Expand Up @@ -5,17 +5,20 @@ on:
branches:
- 'dependabot/npm**'

permissions:
contents: write

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
# No permissions needed for `GITHUB_TOKEN` since we're using a PAT instead
permissions: {}

jobs:
rebuild-dist:
if: ${{ github.event.sender.login == 'dependabot[bot]' }}

# This allows a subsequently queued workflow run to interrupt previous runs.
# It is evaluated AFTER the job's `if` condition, so a push triggered by this
# workflow's PAT will NOT interrupt a run triggered by a push from Dependabot.
concurrency:
group: '${{ github.workflow }} / ${{ github.job }} @ ${{ github.ref }}'
cancel-in-progress: true

runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/test.yml
@@ -1,10 +1,14 @@
name: Run Tests

on:
push:
branches:
- main
pull_request:

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -23,9 +27,3 @@ jobs:

- name: Run tests
run: npm run test

# Drafts your next Release notes as Pull Requests are merged into "main"
- uses: release-drafter/release-drafter@v5
if: github.ref_name == 'main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions action.yml
Expand Up @@ -11,6 +11,7 @@ inputs:
required: false
default: 'false'
conclusion:
deprecationMessage: 'Use of this input does nothing as it was part of the deprecated `emit_telemetry` flow. You should remove this parameter from your workflow.'
description: 'The status of the previous build.'
required: false
token:
Expand Down

0 comments on commit f2ea9e9

Please sign in to comment.