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

Bump types-psycopg2 from 2.9.9 to 2.9.21.1 #53

Open
wants to merge 3 commits into
base: unraid_develop
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ updates:
schedule:
interval: "weekly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
# - package-ecosystem: "github-actions"
# directory: "/"
# schedule:
# interval: "weekly"

- package-ecosystem: "cargo" # See documentation for possible values
directory: "/" # Location of package manifests
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
name: "CodeQL"

on:
push:
branches: [ "unraid_develop" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "unraid_develop" ]
# push:
# branches: [ "unraid_develop" ]
# pull_request:
# # The branches below must be a subset of the branches above
# branches: [ "unraid_develop" ]
schedule:
- cron: '43 8 * * 4'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
24 changes: 21 additions & 3 deletions .github/workflows/dependabot_changelog.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: Write changelog for dependabot PR
on:
# Found at https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-a-workflow-based-on-the-conclusion-of-another-workflow
pull_request:
types:
- opened
- reopened # For debugging!

permissions:
# Needed to be able to push the commit. See
# Needed to be able to push the commit. See
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request
# for a similar example
contents: write
pull-requests: write

jobs:
add-changelog:
Expand All @@ -19,6 +20,14 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Display actor and pr number
shell: bash
run: |
echo "Title: ${{ github.event.pull_request.title }}"
echo "PR num: ${{ github.event.pull_request.number }}"
echo "SHA: ${{ github.event.pull_request.head.sha }}"

- name: Write, commit and push changelog
run: |
echo "${{ github.event.pull_request.title }}." > "changelog.d/${{ github.event.pull_request.number }}".misc
Expand All @@ -41,6 +50,15 @@ jobs:
# I have tried and failed to find a way to trigger CI on the "merge ref" of the PR.
# See git commit history for previous attempts. If anyone desperately wants to try
# again in the future, make a matrix-bot account and use its access token to git push.

- name: Trigger CI
# Note: we use $GITHUB_REF here to run PR against the merge of this change with
# develop; use github.event.pull_request.head.ref above to commit to the PR
# branch.
run: |
echo "sha: ${{ github.event.pull_request.head.sha }}"
gh api --method POST -H "Accept: application/vnd.github+json" /repos/realtyem/synapse-unraid/check-suites -f head_sha="${{ github.event.pull_request.head.sha }}"
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# THIS WORKFLOW HAS WRITE PERMISSIONS---do not add other jobs here unless they
# are sufficiently locked down to dependabot only as above.
1 change: 1 addition & 0 deletions changelog.d/53.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump types-psycopg2 from 2.9.9 to 2.9.21.1.
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.