Skip to content
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

Add 🤖QC Owl App[bot] support #78

Merged
merged 1 commit into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/actions/setup-identity/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ inputs:
name:
description: "Git config name"
required: false
default: "🤖GitHub Actions[Bot]"
default: "🤖QC Owl App[bot]"
email:
description: "Git config email"
required: false
default: "41898282+github-actions[bot]@users.noreply.github.com"
default: "165384878+qc-owl-app[bot]@users.noreply.github.com"
outputs: {}
runs:
using: "composite"
Expand Down
20 changes: 9 additions & 11 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ on:

jobs:
update_release_draft:
name: Trigger a draft release update
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "main"
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- uses: release-drafter/release-drafter@v6
id: draft
env:
GITHUB_TOKEN: ${{ secrets.QCBOT_TOKEN }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
with:
commitish: main

Expand All @@ -31,15 +31,13 @@ jobs:
- name: Upsert Pull Request
uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e #v6.0.2
with:
token: ${{ secrets.QCBOT_TOKEN }}
token: ${{ steps.app-token.outputs.token }}
title: Add release notes for ${{ steps.draft.outputs.tag_name }}
commit-message: Add release notes for ${{ steps.draft.outputs.tag_name }}
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
committer: 🤖QC Owl App[bot] <165384878+qc-owl-app[bot]@users.noreply.github.com>
signoff: true
# author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
assignees: qclaogui
# reviewers: qclaogui
reviewers: qclaogui
body: |
🤖 Copy release notes from Draft
Expand Down
Loading