Skip to content

Conversation

@teutoburg
Copy link
Contributor

@teutoburg teutoburg commented Sep 9, 2025

Use, e.g.:

jobs:
  my-automated-commit:
    runs-on: ubuntu-latest
    name: Do something and push
    steps:
      - uses: actions/checkout@v4

      - name: Get GitHub App token
        id: auth
        uses: ./.github/workflows/authenticate-github-app.yml
        secrets:
          APP_ID: ${{ secrets.APP_ID }}
          APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
          APP_INSTALLATION_ID: ${{ secrets.APP_INSTALLATION_ID }}

      - name: Make changes and commit
        run: |
          git config user.name "My GitHub App"
          git config user.email "[email protected]"
          # make your changes here
          git commit -am "Automated update"
          git push https://x-access-token:${{ steps.auth.outputs.token }}@github.com/${{ github.repository }}.git

@teutoburg teutoburg self-assigned this Sep 9, 2025
@teutoburg teutoburg added the github_actions Pull requests that update GitHub Actions code label Sep 9, 2025
@codecov
Copy link

codecov bot commented Sep 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.84%. Comparing base (cf6f7ab) to head (c88ce24).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #70   +/-   ##
=======================================
  Coverage   97.84%   97.84%           
=======================================
  Files           6        6           
  Lines         464      464           
=======================================
  Hits          454      454           
  Misses         10       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@teutoburg teutoburg force-pushed the fh/appcommit branch 5 times, most recently from afa3a24 to 5b866e1 Compare September 10, 2025 12:40
@teutoburg
Copy link
Contributor Author

Closed in favor of AstarVienna/DevOps#65 and AstarVienna/DevOps#66.

@teutoburg teutoburg closed this Sep 10, 2025
@teutoburg teutoburg deleted the fh/appcommit branch September 10, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants