recent-activity: Bug report: Events found but "something wen wrong"

Checks

Description

I know that a similar issue was opened but mine still fails. I’m using Readme-Workflows/recent-activity@v2.3.3. When the action runs, it find some events but after it throw an Error, take a look at this error:

update_readme

Steps to reproduce

Re-run the action right here

Configuration

# update-readme.yml
name: Update README

on:
  schedule:
    - cron: '*/8 * * * *'
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    name: Update this repo's README with recent activity

    steps:
      - uses: actions/checkout@v2.3.4
      - uses: Readme-Workflows/recent-activity@v2.3.3
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# recent-activity.config.yml
settings:
  commit_msg: '⚔ Update README with the recent activity'
  max_lines: 5
  readme_file: './README.md'
  disabled_events:
    - 'comments'
  url_text: '{REPO}{ID}'
  date:
    timezone: 'GMT+00:00'
    text: 'Last Updated: {DATE}'
    format: 'dddd, mmmm dS, yyyy, h:MM:ss TT'
  commit_name: 'readme-bot'
  # commit_email: '41898282+github-actions[bot]@users.noreply.github.com'
messages:
  comments: 'šŸ’¬ Commented on {ID} in {REPO}'
  issue_opened: 'ā—ļø Opened issue {ID} in {REPO}'
  issue_closed: 'āœ”ļø Closed issue {ID} in {REPO}'
  pr_opened: 'šŸ’Ŗ Opened PR {ID} in {REPO}'
  pr_closed: 'āŒ Closed PR {ID} in {REPO}'
  pr_merged: 'šŸŽ‰ Merged PR {ID} in {REPO}'
  create_repo: 'šŸ“” Created new repository {REPO}'
  fork_repo: 'šŸ”± Forked {FORK} from {REPO}'
  wiki_create: 'šŸ“– Created new wiki page {WIKI} in {REPO}'
  added_member: 'šŸ¤ Became collaborator on {REPO}'
  changes_approved: 'šŸ‘ Approved {ID} in {REPO}'
  changes_requested: 'šŸ”“ Requested changes in {ID} in {REPO}'
  new_release: 'āœŒļø Released {ID} in {REPO}'
  new_star: '⭐ Starred {REPO}'

Expected behaviour

I expect the readme to be updated after the events are found

Actual behaviour

An error is thrown Error: Invalid status code: 128

Failed runs

https://github.com/TAKANOME-DEV/takanome-dev/runs/6504617750?check_suite_focus=true

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

After I saw @abhijoshi2k profile I was able fix my issue. Thanks for the support šŸ‘