-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a276ffc
commit 396cc5e
Showing
4 changed files
with
36 additions
and
80 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,16 @@ | ||
name: Merge dependency updates | ||
|
||
on: | ||
workflow_run: | ||
types: | ||
- "completed" | ||
workflows: | ||
- "ORCA CI" | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
merge: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
if: >- | ||
github.event.workflow_run.event == 'pull_request' && | ||
github.event.workflow_run.conclusion == 'success' && | ||
github.event.workflow_run.actor.login == 'dependabot[bot]' | ||
steps: | ||
- name: "Get PR information" | ||
uses: potiuk/get-workflow-origin@v1_4 | ||
id: source-run-info | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
sourceRunId: ${{ github.event.workflow_run.id }} | ||
- run: 'gh pr merge --squash https://github.com/$GITHUB_REPOSITORY/pull/$GITHUB_PR' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_PR: ${{ steps.source-run-info.outputs.pullRequestNumber }} | ||
update_release_draft: | ||
needs: merge | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: read | ||
steps: | ||
- uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
call-workflow: | ||
uses: acquia/cli/.github/workflows/automerge.yml@main |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,14 @@ | ||
name: Sync GitHub issues to Jira | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
- closed | ||
|
||
name: Create new tickets in Jira | ||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Create new tickets in Jira | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Login | ||
uses: acquia/gajira-login@bearer | ||
env: | ||
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | ||
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | ||
- name: Create | ||
id: create | ||
uses: acquia/gajira-create@bearer | ||
with: | ||
project: DX | ||
issuetype: Task | ||
summary: ${{ github.event.issue.title }} | ||
description: ${{ github.event.issue.html_url }} | ||
fields: '{"components": [{"id": "26026"}]}' | ||
- name: Update Github issue with Jira ticket prefix | ||
run: 'gh issue edit $GH_ISSUE --title "$JIRA_ISSUE: $ISSUE_TITLE"' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_ISSUE: ${{ github.event.issue.html_url }} | ||
JIRA_ISSUE: ${{ steps.create.outputs.issue }} | ||
ISSUE_TITLE: ${{ github.event.issue.title }} | ||
call-workflow: | ||
uses: acquia/cli/.github/workflows/jira.yml@main |
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