Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lovelaced/bamboohr-attendance-action
- Owner: lovelaced
- Created: 2020-10-30T15:45:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-04T10:02:29.000Z (over 2 years ago)
- Last Synced: 2024-12-19T00:18:04.488Z (13 days ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"
```