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

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Use Github Bot for Actions #516

merged 1 commit into from
Dec 2, 2024

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 6 times, most recently from 09f502a to 727d587 Compare November 3, 2024 18:14
@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
@T0biii
Copy link
Member Author

T0biii commented Nov 29, 2024

Hey, @DasSkelett @GoliathLabs @awlx @krombel
wäre cool wenn einer von euch dafür Zeit hättet, die Steps sind eigentlich alle oben beschrieben
Bei fragen gerne an mich und/oder @grische zu gehen

@GoliathLabs
Copy link
Member

@T0biii ist angelegt. Ich habe die Secrets & Vars im Repo-Scope angelegt.

@T0biii T0biii marked this pull request as ready for review November 30, 2024 09:46
@T0biii T0biii requested review from maurerle and a team as code owners November 30, 2024 09:46
.github/workflows/shellcheck.yml Outdated Show resolved Hide resolved
.github/workflows/update-targets.yml Show resolved Hide resolved
@T0biii T0biii merged commit 1b8ff7b into freifunkMUC:stable Dec 2, 2024
28 checks passed
@ffmuc-bot
Copy link

ffmuc-bot bot commented Dec 2, 2024

Git push to origin failed for legacy with exitcode 1

@ffmuc-bot
Copy link

ffmuc-bot bot commented Dec 2, 2024

Git push to origin failed for next with exitcode 1

T0biii added a commit that referenced this pull request Dec 2, 2024
T0biii added a commit that referenced this pull request Dec 2, 2024
T0biii added a commit that referenced this pull request Dec 2, 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.

3 participants