{"id":18937675,"url":"https://github.com/logflare/action","last_synced_at":"2025-04-15T18:32:20.983Z","repository":{"id":37854817,"uuid":"321479339","full_name":"Logflare/action","owner":"Logflare","description":"GitHub Action to create a log in a Logflare source","archived":false,"fork":false,"pushed_at":"2023-04-03T16:57:56.000Z","size":348,"stargazers_count":19,"open_issues_count":5,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T01:44:27.738Z","etag":null,"topics":["github-actions","logflare","logging"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Logflare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-14T21:39:05.000Z","updated_at":"2025-02-17T19:18:31.000Z","dependencies_parsed_at":"2024-11-08T12:12:10.724Z","dependency_job_id":"ba68ec07-e1a8-4289-a90a-f5b27ef2eb6f","html_url":"https://github.com/Logflare/action","commit_stats":{"total_commits":62,"total_committers":4,"mean_commits":15.5,"dds":0.4032258064516129,"last_synced_commit":"abc85901c928cd600af72b578d05643d8565eaa0"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logflare%2Faction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logflare%2Faction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logflare%2Faction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logflare%2Faction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Logflare","download_url":"https://codeload.github.com/Logflare/action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249129297,"owners_count":21217326,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","logflare","logging"],"created_at":"2024-11-08T12:12:00.062Z","updated_at":"2025-04-15T18:32:15.972Z","avatar_url":"https://github.com/Logflare.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logflare Log Action\n\n\u003e GitHub Action to create a log in a [Logflare](https://logflare.app/) source\n\n[![Build Status](https://github.com/logflare/action/workflows/Test/badge.svg)](https://github.com/logflare/action/actions)\n\n## Usage\n\nBefore using the action, you need to create two secrets in your repository settings:\n\n1. `LOGFLARE_API_KEY` - your Logflare API Key, find it on [your Logflare Dashboard](https://logflare.app/dashboard)\n2. `LOGFLARE_SOURCE_ID` - ID of one of your surces listed on [your Logflare Dashboard](https://logflare.app/dashboard)\n\nExample: Log every new release ([example for `github.event` data](https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/webhook-events-and-payloads#webhook-payload-example-34))\n\n```yml\nname: Log new release\non:\n  release:\n    types: [published]\n\njobs:\n  log:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: logflare/action@v1\n        id: stats\n        with:\n          api_key: ${{ secrets.LOGFLARE_API_KEY }}\n          source_id: ${{ secrets.LOGFLARE_SOURCE_ID }}\n          message: \"new release: ${{ github.event.release.html_url }}\"\n          metadata: |\n            {\n              \"version\": \"${{ github.event.release.tag_name }}\"\n            }\n\n```\n\n## Debugging\n\nTo see additional debug logs, create a secret with the name: `ACTIONS_STEP_DEBUG` and value `true`.\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## License\n\n[ISC](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogflare%2Faction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogflare%2Faction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogflare%2Faction/lists"}