{"id":13533267,"url":"https://github.com/anoopt/ms-graph-create-event","last_synced_at":"2026-02-27T22:33:00.647Z","repository":{"id":37877362,"uuid":"225256638","full_name":"anoopt/ms-graph-create-event","owner":"anoopt","description":":calendar: A GitHub action to create Outlook calendar event using Microsoft Graph","archived":false,"fork":false,"pushed_at":"2022-12-10T10:46:36.000Z","size":13892,"stargazers_count":10,"open_issues_count":5,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-02-11T18:48:45.935Z","etag":null,"topics":["actions","calendar","github-actions","microsoft-graph"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anoopt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-02T01:06:57.000Z","updated_at":"2024-01-29T16:40:37.000Z","dependencies_parsed_at":"2023-01-11T17:21:24.989Z","dependency_job_id":null,"html_url":"https://github.com/anoopt/ms-graph-create-event","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":0.1578947368421053,"last_synced_commit":"f48fabd76ecda756f7fdc1c600cee4c390c56132"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/anoopt/ms-graph-create-event","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopt%2Fms-graph-create-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopt%2Fms-graph-create-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopt%2Fms-graph-create-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopt%2Fms-graph-create-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anoopt","download_url":"https://codeload.github.com/anoopt/ms-graph-create-event/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopt%2Fms-graph-create-event/sbom","scorecard":{"id":197799,"data":{"date":"2025-08-11","repo":{"name":"github.com/anoopt/ms-graph-create-event","commit":"f48fabd76ecda756f7fdc1c600cee4c390c56132"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/anoopt/ms-graph-create-event/main.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"23 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-7r3h-m5j6-3q42","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-pc5p-h8pf-mvwp","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-8cf7-32gw-wr33","Warn: Project is vulnerable to: GHSA-hjrf-2m68-5959","Warn: Project is vulnerable to: GHSA-qwph-4952-7xr6","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-w7rc-rwvf-8q5r","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-5fg8-2547-mr8q","Warn: Project is vulnerable to: GHSA-crh6-fp67-6883"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T22:08:41.883Z","repository_id":37877362,"created_at":"2025-08-16T22:08:41.883Z","updated_at":"2025-08-16T22:08:41.883Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29917704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"ssl_error","status_checked_at":"2026-02-27T19:37:41.463Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["actions","calendar","github-actions","microsoft-graph"],"created_at":"2024-08-01T07:01:18.227Z","updated_at":"2026-02-27T22:33:00.631Z","avatar_url":"https://github.com/anoopt.png","language":"JavaScript","funding_links":[],"categories":["Community Resources"],"sub_categories":["Notifications and Messages"],"readme":"# GitHub Action to create event using Microsoft Graph\n\nCreates an event in a user's calendar when an event occurs. This action can be used when say for example a pull request is created and some one has to review it. Creating an event in their calendar will prompt them a notification.\n\n## What it does\n\n![Action](./img/Action.jpg)\n\n## Pre requisites\n\nThis action uses Microsoft Graph to create an event. So please make sure that you [register an application in Azure AD](https://docs.microsoft.com/en-us/graph/auth-register-app-v2), provide that app `Calendars.ReadWrite` permissions and create a client secret for that.\n\nIn your GitHub repo [create 3 secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) with the following information:\n* TENANT_NAME - The name of your Office 365 tenant (e.g. contoso.onmicrosoft.com)\n* APP_ID - The Id of the app registration created above\n* APP_SECRET - A secret of the app registration created above.\n\n\n## Usage\n\nBelow is a workflow code\n\n```workflow\nname: MS Graph Event\n\non: [pull_request]\n\njobs:\n  create-event:\n    runs-on: ubuntu-latest\n    name: Create Event\n    steps:\n    - name: Create event on the next day\n      uses: anoopt/ms-graph-create-event@v1\n      env:\n        TENANT_NAME: ${{ secrets.TENANT_NAME }}\n        APP_ID: ${{ secrets.APP_ID }}\n        APP_SECRET: ${{ secrets.APP_SECRET }}\n      with:\n        subject: 'Review pull request'\n        body: 'A new PR has been submitted on ${{ github.repository }} from ${{ github.actor }}. Please review it.'\n        emailaddress: 'user@contoso.onmicrosoft.com'\n```\n\nWhen there is a pull request, the above workflow will create an event for user 'user@contoso.onmicrosoft.com' on the next day from 12:00 to 13:00 (automatic as no start or end is specified).  \n\n## More Information\n\nAll of the information attached to an event is available in the `github.event` variable. To see the possible values, you can use the following step in your workflow:\n\n```yaml\n- run: echo '${{ toJson(github.event) }}'\n```\n\n```workflow\nname: MS Graph Event\n\non: [push]\n\njobs:\n  create-event:\n    runs-on: ubuntu-latest\n    name: Create Event\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v1\n    - name: Create event on the specified day and time\n      uses: anoopt/ms-graph-create-event@v1\n      env:\n        TENANT_NAME: ${{ secrets.TENANT_NAME }}\n        APP_ID: ${{ secrets.APP_ID }}\n        APP_SECRET: ${{ secrets.APP_SECRET }}\n      with:\n        subject: 'Code pushed'\n        body: 'Some files have been pushed on ${{ github.repository }} from ${{ github.actor }}. Please find the details here ${{ github.event.compare }}.'\n        emailaddress: 'user@contoso.onmicrosoft.com'\n        start: '2019-12-04T14:30:00'\n        end: '2019-12-04T15:00:00'\n```\n\nWhen there is a code push, the above workflow will create an event for user 'user@contoso.onmicrosoft.com' on 4th Dec 2019 from 14:30 to 15:00 with the URL of compare in details.\n\n## Event that gets created\n\n![Event](./img/Endresult.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanoopt%2Fms-graph-create-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanoopt%2Fms-graph-create-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanoopt%2Fms-graph-create-event/lists"}