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

Bug report: # of activity lines remains the same after I change max_lines property #159

Closed
2 tasks done
jooncco opened this issue Feb 24, 2022 · 3 comments · Fixed by #160
Closed
2 tasks done

Bug report: # of activity lines remains the same after I change max_lines property #159

jooncco opened this issue Feb 24, 2022 · 3 comments · Fixed by #160
Labels
Type: bug Something isn't working

Comments

@jooncco
Copy link
Contributor

jooncco commented Feb 24, 2022

Checks

Description

The number of activity lines remains the same after I change max_lines property

Steps to reproduce

  1. Run workflow with default settings.
  2. Change the max_lines property value inside .github/recent-activity.config.yml into 8.
  3. Re-run the workflow.

Configuration

name: Recent activity

on:
  schedule:
    - cron: '*/30 * * * *' # Update every 30 minutes
  workflow_dispatch:

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

    steps:
      - uses: actions/[email protected]
      - uses: Readme-Workflows/[email protected]
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

---

settings:
  username: "jooncco"
  commit_msg: "⚡ Update README with the recent activity"
  max_lines: 8
  readme_file: "./README.md"
  disabled_events:
    - "comments"
  url_text: "{REPO}{ID}"
  date:
    timezone: "GMT+09: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

newest 8 activity lines are showing

Actual behaviour

newest 5 activity lines are showing

Failed runs

No response

@jooncco jooncco added the Type: bug Something isn't working label Feb 24, 2022
@welcome
Copy link

welcome bot commented Feb 24, 2022

Thanks for opening your first issue here! Your contribution is welcome🙏. Make sure to follow the code of conduct!

@Andre601
Copy link
Member

This is mentioned in the wiki:
https://github.com/Readme-Workflows/recent-activity/wiki/Configuration#max_lines

The action will continue until it reached the amount of lines or the stop comment.

@jooncco
Copy link
Contributor Author

jooncco commented Feb 25, 2022

Oh I missed it, thanks.
Now this issue should be a new feature request I think 🤔.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants