Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lovelaced/bamboohr-attendance-action

A Github Action to retrieve employee fields based on whether they are working today or not
https://github.com/lovelaced/bamboohr-attendance-action

Last synced: 6 days ago
JSON representation

A Github Action to retrieve employee fields based on whether they are working today or not

Awesome Lists containing this project

README

        

# BambooHR Attendance github action

This is a simple github action to retrieve a list of information about who is either in office, out of office, or both.

## Usage

Using the BambooHR API requires generating of an api token, which can be done by following the instructions [here](https://documentation.bamboohr.com/docs/getting-started).

```workflow
name: Every weekday morning at 9AM gather a list of people who are OOO today
on:
schedule:
- cron: '0 0 9 ? * MON-FRI *'
jobs:
github_whos_out:
runs-on: ubuntu-latest
steps:
- name:
uses: lovelaced/[email protected]
with:
subdomain: "paritytech"
api_token: ${{ secrets.BAMBOOHR_API_TOKEN }}
employee_list: "111,763,96"
people_in_today: false
people_out_today: true
bamboo_fields: "firstName,lastName"
```