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 to GitHub projects workflow #4

Merged
merged 8 commits into from
Nov 23, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Cleanup names
brettcurtis committed Nov 23, 2022
commit 1b13423dcc6aa7bbd653abb3ca8a531b6e56d79c
2 changes: 1 addition & 1 deletion .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ jobs:
# Add To GitHub Projects
# https://github.com/marketplace/actions/add-to-github-projects

- name: Run Step add-to-project Action
- name: "Run Step: add-to-project"
uses: actions/add-to-project@v0.4.0
with:
project-url: https://github.com/orgs/osinfra-io/projects/${{ inputs.project_id }}
6 changes: 3 additions & 3 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ jobs:
# Fetch Metadata from Dependabot PRs
# https://github.com/marketplace/actions/fetch-metadata-from-dependabot-prs

- name: Run Action - dependabot-metadata
- name: "Run Step: dependabot-metadata"
id: dependabot-metadata
uses: dependabot/fetch-metadata@v1.3.5
with:
@@ -30,13 +30,13 @@ jobs:
# GitHub command line
# https://cli.github.com

- name: Run GH CLI - approve
- name: "Run Step: gh pr review --approve"
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
github-token: "${{ secrets.github_token }}"

- name: Run GH CLI - auto-merge
- name: "Run Step: gh pr merge --auto --squash"
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
run: gh pr merge --auto --squash "$PR_URL"
env: