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

Use Github Bot for Actions #516

Draft
wants to merge 1 commit into
base: stable
Choose a base branch
from
Draft

Conversation

T0biii
Copy link
Member

@T0biii T0biii commented Nov 3, 2024

Use Github Bot for Actions

ToDo

  • Add new Bot (GitHub Apps) in Org Context
    • Set Name (This name is used for Commits and PR generation e.g. FFMUC Helper, FFMUC Bot)
    • Set Homepage URL (e.g. https://ffmuc.net)
    • Remove "Expire user authorization tokens"
    • Remove "Webhook Active"
    • Add Repository Permissions
      • Actions Read and Write
      • Contents Read and Write
      • Issues Read and Write
      • Metadata Read-only
      • Pull requests Read and Write
      • Workflows Read and Write
    • Only on this account (@freifunkMUC)
  • After Creation of Bot
    • General Tab
      • save App ID for later
      • save Private keys -> Generate a private key -> for later
    • Install App Tab
      • select @freifunkMUC Install
      • Only select repositories (freifunkMUC/site-ffm)
  • Actions secrets and vars
    • Add new Repository variables to Repo APP_ID -> previously saved
    • Add new Repository secrets to Repo PRIVATE_KEY -> previously saved

die ToDos um den Bot zu erstellen kann ich übernehmen dafür fehlen mir die Github Rechte.
Die Var sowie das Secret könnten wir theoretisch auch als Org Secrets setzen, falls wir den Bot auf mehreren Repos brauchen.

Für folgende Workflows könnten wir es noch verwenden:

Example PR User:
image

Fürs Bot Logo können wir folgendes verwenden:
image
freifunkMUC/logo_merchandise_ci#9

@T0biii T0biii force-pushed the stable branch 5 times, most recently from db4f0a4 to 09f502a Compare November 3, 2024 18:12
@T0biii T0biii changed the title Use Github Bot for Action Use Github Bot for Actions Nov 3, 2024
@T0biii T0biii added stable backport legacy Backport to Legacy Branch backport next Backport to Next Branch labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport legacy Backport to Legacy Branch backport next Backport to Next Branch stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant